RDS: cleanup: remove "== NULL"s and "!= NULL"s in ptr comparisons
[linux-drm-fsl-dcu.git] / net / rds / iw_sysctl.c
index 1c4428a61a0259baf3c1af1611f23608ffea0c5d..3cb0587d6f50073389aba1563f903086561161fb 100644 (file)
@@ -125,7 +125,7 @@ void rds_iw_sysctl_exit(void)
 int __init rds_iw_sysctl_init(void)
 {
        rds_iw_sysctl_hdr = register_sysctl_paths(rds_iw_sysctl_path, rds_iw_sysctl_table);
-       if (rds_iw_sysctl_hdr == NULL)
+       if (!rds_iw_sysctl_hdr)
                return -ENOMEM;
        return 0;
 }