]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/proc/proc_sysctl.c
Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm
[karo-tx-linux.git] / fs / proc / proc_sysctl.c
index eb7cc91b7258870f89b77a60de4172dd6f1502b6..dcd56f84db7ebcce37e884cae218c90d795109b0 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);