summaryrefslogtreecommitdiffstats
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorSaurabh Sengar <saurabh.truth@gmail.com>2015-12-07 18:35:11 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-01-28 22:40:31 -0800
commitd86b4a71ca579914c971ae949335b4e971eec213 (patch)
tree454674fd4b28d03ad36f4917e6327b7720082554 /include/linux/debugobjects.h
parentd3da1cbaef8d92b1bb4103feee03b888f5bead24 (diff)
downloadcachepc-linux-d86b4a71ca579914c971ae949335b4e971eec213.tar.gz
cachepc-linux-d86b4a71ca579914c971ae949335b4e971eec213.zip
Staging: speakup: varhandlers: cleanup of function spk_get_punc_var
This patch does the following: * changed the complicated if statements to simple case statements * in case of E_DEFAULT, no need to return error as ERESTART, because this is the user asked for. Hence function should return success. * ret variable is 0 always, hence removed it. * removed one ternary operator, as it was always returning the status value only, and hence removed the status variable too Signed-off-by: Saurabh Sengar <saurabh.truth@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions