From aa57a8c835291fc573ea1829229689db46e2dcd6 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Fri, 1 Jul 2016 11:44:44 +0300 Subject: [PATCH] smatch_scripts/gen_no_return_funcs: fix this for other projects This was working originally then I cut and pasted lazily and broke it. Signed-off-by: Dan Carpenter --- smatch_scripts/gen_no_return_funcs.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/smatch_scripts/gen_no_return_funcs.sh b/smatch_scripts/gen_no_return_funcs.sh index 7d57c23f..bdf78eb2 100755 --- a/smatch_scripts/gen_no_return_funcs.sh +++ b/smatch_scripts/gen_no_return_funcs.sh @@ -8,10 +8,6 @@ if [[ "$file" = "" ]] ; then exit 1 fi -if [[ "$project" != "kernel" ]] ; then - exit 0 -fi - outfile="${project}.no_return_funcs" bin_dir=$(dirname $0) add_file=$(echo ${bin_dir}/../smatch_data/${outfile}.add) -- 2.11.4.GIT