From 90829adb4a8ea3b007bd8c63f5b54fddb7972bec Mon Sep 17 00:00:00 2001 From: Peter Senna Tschudin Date: Sun, 1 Jun 2014 15:12:31 -0300 Subject: [PATCH] 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 Signed-off-by: Michal Marek --- Reading git-format-patch failed