diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/checkpatch.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index d94f5d879fb1..10ad5ab571dc 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -4446,7 +4446,7 @@ sub process { | |||
4446 | my $expr = '\s*\(\s*' . quotemeta($1) . '\s*\)\s*;'; | 4446 | my $expr = '\s*\(\s*' . quotemeta($1) . '\s*\)\s*;'; |
4447 | if ($line =~ /\b(kfree|usb_free_urb|debugfs_remove(?:_recursive)?)$expr/) { | 4447 | if ($line =~ /\b(kfree|usb_free_urb|debugfs_remove(?:_recursive)?)$expr/) { |
4448 | WARN('NEEDLESS_IF', | 4448 | WARN('NEEDLESS_IF', |
4449 | "$1(NULL) is safe this check is probably not required\n" . $hereprev); | 4449 | "$1(NULL) is safe and this check is probably not required\n" . $hereprev); |
4450 | } | 4450 | } |
4451 | } | 4451 | } |
4452 | 4452 | ||