aboutsummaryrefslogtreecommitdiff
path: root/lib/sg_pt_linux.c
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 /lib/sg_pt_linux.c
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
Diffstat (limited to 'lib/sg_pt_linux.c')
-rw-r--r--lib/sg_pt_linux.c6
1 files changed, 0 insertions, 6 deletions
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);