aboutsummaryrefslogtreecommitdiff
path: root/util/lint
diff options
context:
space:
mode:
Diffstat (limited to 'util/lint')
-rwxr-xr-xutil/lint/lint-007-checkpatch6
1 files changed, 2 insertions, 4 deletions
diff --git a/util/lint/lint-007-checkpatch b/util/lint/lint-007-checkpatch
index a7b63e8d7c..afa593e3b0 100755
--- a/util/lint/lint-007-checkpatch
+++ b/util/lint/lint-007-checkpatch
@@ -28,8 +28,6 @@ EXCLUDED_DIRS="^payloads/libpayload/util/kconfig\|\
^src/vendorcode\|\
^Documentation"
-opts="--max-line-length 96"
-
# default: test src and util
if [ "$1" = "" ]; then
INCLUDED_DIRS="src util"
@@ -37,7 +35,7 @@ if [ "$1" = "" ]; then
elif [ "$1" = "diff" ]; then
args=$( echo $EXCLUDED_DIRS | \
sed -e 's,\\|, ,g' -e 's,\^,--exclude=,g' )
- util/lint/checkpatch.pl --quiet --no-signoff $opts $args -
+ util/lint/checkpatch.pl --quiet --no-signoff $args -
exit $?
# Space separated list of directories to test
else
@@ -51,5 +49,5 @@ FILELIST=$( git ls-files $INCLUDED_DIRS | \
grep -v $EXCLUDED_DIRS )
for FILE in $FILELIST; do
- util/lint/checkpatch.pl --show-types --file --quiet $opts "$FILE"
+ util/lint/checkpatch.pl --show-types --file --quiet "$FILE"
done