diff options
Diffstat (limited to 'drivers/target')
-rw-r--r-- | drivers/target/target_core_configfs.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/target/target_core_configfs.c b/drivers/target/target_core_configfs.c index 63cba1e243ef..8d2aba51fc8b 100644 --- a/drivers/target/target_core_configfs.c +++ b/drivers/target/target_core_configfs.c | |||
@@ -306,10 +306,6 @@ struct target_fabric_configfs *target_fabric_configfs_init( | |||
306 | { | 306 | { |
307 | struct target_fabric_configfs *tf; | 307 | struct target_fabric_configfs *tf; |
308 | 308 | ||
309 | if (!(fabric_mod)) { | ||
310 | printk(KERN_ERR "Missing struct module *fabric_mod pointer\n"); | ||
311 | return ERR_PTR(-EINVAL); | ||
312 | } | ||
313 | if (!(name)) { | 309 | if (!(name)) { |
314 | printk(KERN_ERR "Unable to locate passed fabric name\n"); | 310 | printk(KERN_ERR "Unable to locate passed fabric name\n"); |
315 | return ERR_PTR(-EINVAL); | 311 | return ERR_PTR(-EINVAL); |