aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--lib/sg_pt_linux.c6
2 files changed, 1 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 96c6b245..13ada9a4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,7 +2,7 @@ Each utility has its own version number, date of last change and
some description at the top of its ".c" file. All utilities in the main
directory have their own "man" pages. There is also a sg3_utils man page.
-Changelog for sg3_utils-1.43 [20171230] [svn: r740]
+Changelog for sg3_utils-1.43 [20171231] [svn: r741]
- sg_bg_ctl: new Background control command (sbc4r08)
- sg_write_x: where x can be normal, atomic, orwrite,
same, scattered, or stream writes with 16 or 32 byte
diff --git a/lib/sg_pt_linux.c b/lib/sg_pt_linux.c
index 3512ea1e..f956f123 100644
--- a/lib/sg_pt_linux.c
+++ b/lib/sg_pt_linux.c
@@ -360,12 +360,6 @@ scsi_pt_open_flags(const char * device_name, int flags, int verbose)
{
int fd;
-bool ok;
-char b[512];
-ok = sg_get_nvme_char_devname(device_name, sizeof(b), b);
-pr2ws("%s: sg_get_nvme_char_devname() --> ok=%s\n", __func__, ok ? "true" : "false");
-if (ok)
-pr2ws("\t trimmed devname: %s\n", b);
if (! sg_bsg_nvme_char_major_checked) {
sg_bsg_nvme_char_major_checked = true;
sg_find_bsg_nvme_char_major(verbose);