summaryrefslogtreecommitdiff
path: root/drivers/clk
diff options
context:
space:
mode:
authorRehas Sachdeva <aquannie@gmail.com>2016-09-20 14:10:14 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-22 09:54:47 (GMT)
commitcf5d32736722a1abf00c432241a5477c09cd4db2 (patch)
tree49803ce3aa1511dac048b6fc32cbe32e089a9492 /drivers/clk
parent3adc4aae0e597a7cdcb9ed3f99d0933bf9a4aaa6 (diff)
downloadlinux-cf5d32736722a1abf00c432241a5477c09cd4db2.tar.xz
staging: xgifb: Remove unused variable and if statement
Setting the variable 'refresh_rate = 60;' has no use to the rest of the function. Hence the if statement setting it and the variable itself can be removed. This was detected using the following Coccinelle semantic patch: @@ type T; identifier i; constant C; @@ ( extern T i; | - T i; <+... when != i - i = C; ...+> ) Signed-off-by: Rehas Sachdeva <aquannie@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions