Skip to content

Commit

Permalink
cleanup license
Browse files Browse the repository at this point in the history
  • Loading branch information
laffer1 committed Apr 28, 2024
1 parent 5874679 commit 005dfc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 1 addition & 5 deletions sys/dev/nvme/nvme_test.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
* SPDX-License-Identifier: BSD-2-Clause
*
* Copyright (C) 2012-2013 Intel Corporation
* All rights reserved.
Expand Down Expand Up @@ -27,7 +27,6 @@
*/

#include <sys/cdefs.h>

#include <sys/param.h>
#include <sys/bio.h>
#include <sys/conf.h>
Expand All @@ -46,7 +45,6 @@
#include "nvme_private.h"

struct nvme_io_test_thread {

uint32_t idx;
struct nvme_namespace *ns;
enum nvme_nvm_opcode opc;
Expand All @@ -58,7 +56,6 @@ struct nvme_io_test_thread {
};

struct nvme_io_test_internal {

struct nvme_namespace *ns;
enum nvme_nvm_opcode opc;
struct timeval start;
Expand Down Expand Up @@ -102,7 +99,6 @@ nvme_ns_bio_test(void *arg)
offset = idx * 2048ULL * nvme_ns_get_sector_size(io_test->ns);

while (1) {

bio = g_alloc_bio();

memset(bio, 0, sizeof(*bio));
Expand Down
4 changes: 1 addition & 3 deletions sys/dev/nvme/nvme_util.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
* SPDX-License-Identifier: BSD-2-Clause
*
* Copyright (C) 2013 Intel Corporation
* Copyright (C) 1997 Justin T. Gibbs
Expand Down Expand Up @@ -28,7 +28,6 @@
*/

#include <sys/cdefs.h>

#include <sys/param.h>
#include <dev/nvme/nvme.h>

Expand Down Expand Up @@ -59,4 +58,3 @@ nvme_strvis(uint8_t *dst, const uint8_t *src, int dstlen, int srclen)
}
*dst = '\0';
}

0 comments on commit 005dfc4

Please sign in to comment.