aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2018-01-01 03:35:18 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2018-01-01 03:35:18 +0000
commitcd3508dc77d96ee24007928391b66273c36b34f7 (patch)
treec085e39ed229d7c296e4128f4cd37370b1ad7bcd
parentdb994f4b56874c98f437c7744e7608e8d0ed1af6 (diff)
downloadsg3_utils-cd3508dc77d96ee24007928391b66273c36b34f7.tar.gz
sg_pt_linux.c: remove some debug code
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@741 6180dd3e-e324-4e3e-922d-17de1ae2f315
-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);