]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
asus-laptop: remove redundant initializers
authorGiedrius Statkevičius <giedrius.statkevicius@gmail.com>
Sat, 16 Apr 2016 00:01:56 +0000 (03:01 +0300)
committerDarren Hart <dvhart@linux.intel.com>
Mon, 25 Apr 2016 17:42:40 +0000 (10:42 -0700)
commit2ce6d9932db55cfc09dd6362d6d0d47a361f5f02
tree6ddf53b4c6b9590f6bed2e2ce0da1a1e84dce671
parent198b618ab118c7d856278a985de1ed0eff77c02f
asus-laptop: remove redundant initializers

Initializing rv to AE_OK is pointless because later function results are
assigned to them and only then the variable is used

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@gmail.com>
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/asus-laptop.c