|
@@ -4446,7 +4446,7 @@ sub process {
|
|
my $expr = '\s*\(\s*' . quotemeta($1) . '\s*\)\s*;';
|
|
my $expr = '\s*\(\s*' . quotemeta($1) . '\s*\)\s*;';
|
|
if ($line =~ /\b(kfree|usb_free_urb|debugfs_remove(?:_recursive)?)$expr/) {
|
|
if ($line =~ /\b(kfree|usb_free_urb|debugfs_remove(?:_recursive)?)$expr/) {
|
|
WARN('NEEDLESS_IF',
|
|
WARN('NEEDLESS_IF',
|
|
- "$1(NULL) is safe this check is probably not required\n" . $hereprev);
|
|
|
|
|
|
+ "$1(NULL) is safe and this check is probably not required\n" . $hereprev);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|