RDS: cleanup: remove "== NULL"s and "!= NULL"s in ptr comparisons
[deliverable/linux.git] / net / rds / ib_sysctl.c
index 03f01cb4e0fee40487585088b9a6a0b2d9219049..c070524c4d95a82ce977434714a9e625fb7db6e4 100644 (file)
@@ -135,7 +135,7 @@ void rds_ib_sysctl_exit(void)
 int __init rds_ib_sysctl_init(void)
 {
        rds_ib_sysctl_hdr = register_sysctl_paths(rds_ib_sysctl_path, rds_ib_sysctl_table);
-       if (rds_ib_sysctl_hdr == NULL)
+       if (!rds_ib_sysctl_hdr)
                return -ENOMEM;
        return 0;
 }
This page took 0.023893 seconds and 5 git commands to generate.