propagate: delete this test
commit437f4534a6ee1de749c9f90846a322533047bfa7
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 10 Apr 2014 12:51:26 +0000 (10 15:51 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 10 Apr 2014 12:51:26 +0000 (10 15:51 +0300)
treebca97b1f4dbedd1bdc06703f8a9b000f4f303099
parent140351f62061b78b39675afb18ba4fb3d5bd537d
propagate: delete this test

The check_propagate test looked for places in the kernel which did this:

if (some_func())
return -EINVAL;

Because it's better kernel style to do:

ret = some_func();
if (ret)
return ret;

So the correct error code is preserved.

But the check had false positives.  Also too many people do this the wrong
way so it generates a lot of warnings.  Also it's a style issue and I would
rather focus on bugs.

Deleted.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
check_list.h
check_propagate.c [deleted file]