aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/package
diff options
context:
space:
mode:
authorPeter Senna Tschudin <peter.senna@gmail.com>2014-06-01 15:12:31 -0300
committerMichal Marek <mmarek@suse.cz>2014-06-10 14:36:30 +0200
commit90829adb4a8ea3b007bd8c63f5b54fddb7972bec (patch)
treee152dd1c1c60a91dd339913ee5f9793fe887f7e2 /scripts/package
parentkbuild: Fix a typo in documentation (diff)
downloadwireguard-linux-90829adb4a8ea3b007bd8c63f5b54fddb7972bec.tar.xz
wireguard-linux-90829adb4a8ea3b007bd8c63f5b54fddb7972bec.zip
coccicheck: Add unneeded return variable test
This semantic patch looks for variables that are initialized with a constant, are never updated, and are only used as parameter of return. Return the constant instead of using a variable. Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/package')
0 files changed, 0 insertions, 0 deletions