diff options
author | Jeremy Sowden <jeremy@azazel.net> | 2019-04-27 20:54:01 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-30 14:19:03 +0200 |
commit | 87232b827ef793060ed59af36d89ae90a092ac96 (patch) | |
tree | 89db31f79735d1112001e2967d73dcebfbcaf8ae /drivers/vme | |
parent | staging: kpc2000_spi: eliminated duplicate initialization of drvdata local variable. (diff) | |
download | linux-dev-87232b827ef793060ed59af36d89ae90a092ac96.tar.xz linux-dev-87232b827ef793060ed59af36d89ae90a092ac96.zip |
staging: kpc2000_spi: eliminated duplicate initialization of master local variable.
master was being initialized to a particular value and then having the
same value assigned to it immediately afterwards. Removed the
initializer.
Since the value assigned to master was dynamically allocated, this fixes
a memory-leak.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/vme')
0 files changed, 0 insertions, 0 deletions