Merge branch 'uapi-prep' of git://git.infradead.org/users/dhowells/linux-headers
[cascardo/linux.git] / fs / proc / proc_sysctl.c
index eb7cc91..dcd56f8 100644 (file)
@@ -266,8 +266,7 @@ void sysctl_head_put(struct ctl_table_header *head)
 
 static struct ctl_table_header *sysctl_head_grab(struct ctl_table_header *head)
 {
-       if (!head)
-               BUG();
+       BUG_ON(!head);
        spin_lock(&sysctl_lock);
        if (!use_table(head))
                head = ERR_PTR(-ENOENT);