staging: sm750fb: Remove an unnecessary local variable in a function
authorMadhumitha Prabakaran <madhumithabiw@gmail.com>
Wed, 13 Mar 2019 15:32:05 +0000 (10:32 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2019 06:06:05 +0000 (07:06 +0100)
commit3732d7016725e45415b99261c81856b944206529
tree5070283474efb16e707fd2d5a79a7211ca622983
parent9963412762862b9eebb996ff8a2a79740d846616
staging: sm750fb: Remove an unnecessary local variable in a function

Remove an unnecessary local variable in  sm750_format_pll_reg function
and replace its initialization directly in return type.
Issue suggested by Coccinelle using ret.cocci.

Signed-off-by: Madhumitha Prabakaran <madhumithabiw@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_chip.c