summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/spl/spl-generic.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/module/spl/spl-generic.c b/module/spl/spl-generic.c
index 651d45ebc..1dedf76cf 100644
--- a/module/spl/spl-generic.c
+++ b/module/spl/spl-generic.c
@@ -414,12 +414,8 @@ hostid_read(void)
file = kobj_open_file(spl_hostid_path);
- if (file == (struct _buf *)-1) {
- printk(KERN_WARNING
- "SPL: The %s file is not found.\n",
- spl_hostid_path);
+ if (file == (struct _buf *)-1)
return -1;
- }
result = kobj_get_filesize(file, &size);