aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorGargi Sharma <[email protected]>2017-03-11 20:27:20 +0530
committerGreg Kroah-Hartman <[email protected]>2017-03-12 14:46:34 +0100
commitcbe7023526d5026e93613dc3694f0c20a2ea8573 (patch)
tree33c1438a7c704e02a70018f5c42559cbbb9a3a5e /lib/memory-notifier-error-inject.c
parenta4a987decb4b12b546d18946e70a7770d5434d80 (diff)
staging: rtl8192e: Remove multiple assignments
This patch removes multiple assignments by factorizing them. This was done with Coccinelle for the if branch. For the else part the change was done manually. Braces were also added to the else part to remove the checkpatch warning, "braces should be on all arms of if-else statements". @ identifier i1,i2; constant c; @@ - i1=i2=c; + i1=c; + i2=c; Signed-off-by: Gargi Sharma <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions