mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 03:01:26 +00:00
Cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6198 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -6588,8 +6588,7 @@ static ssize_t q2t_show_expl_conf_enabled(struct kobject *kobj,
|
||||
|
||||
res = scnprintf(buffer, PAGE_SIZE, "%d\n%s",
|
||||
vha->hw->enable_explicit_conf,
|
||||
vha->hw->enable_explicit_conf ?
|
||||
SCST_SYSFS_KEY_MARK "\n" : "");
|
||||
vha->hw->enable_explicit_conf ? SCST_SYSFS_KEY_MARK "\n" : "");
|
||||
|
||||
out:
|
||||
return res;
|
||||
|
||||
@@ -9470,8 +9470,7 @@ static ssize_t vdev_dif_filename_show(struct kobject *kobj,
|
||||
virt_dev = dev->dh_priv;
|
||||
|
||||
pos = sprintf(buf, "%s\n%s", virt_dev->dif_filename,
|
||||
(virt_dev->dif_filename != NULL) ?
|
||||
SCST_SYSFS_KEY_MARK "\n" : "");
|
||||
(virt_dev->dif_filename != NULL) ? SCST_SYSFS_KEY_MARK "\n" : "");
|
||||
|
||||
TRACE_EXIT_RES(pos);
|
||||
return pos;
|
||||
|
||||
Reference in New Issue
Block a user