diff options
| author | 2021-02-16 17:50:48 +0200 | |
|---|---|---|
| committer | 2021-02-19 22:15:43 +0100 | |
| commit | 5d2bfb3fb95b2d448c0fbcaa2c58b215b2fa87fc (patch) | |
| tree | eb528810b3a897d49650e02fad308a5f4315beae /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | leds: lp50xx: Reduce level of dereferences (diff) | |
| download | wireguard-linux-5d2bfb3fb95b2d448c0fbcaa2c58b215b2fa87fc.tar.xz wireguard-linux-5d2bfb3fb95b2d448c0fbcaa2c58b215b2fa87fc.zip | |
leds: lp50xx: Get rid of redundant check in lp50xx_enable_disable()
Since GPIO is optional the API is NULL aware and will check descriptor anyway.
Remove duplicate redundant check in lp50xx_enable_disable().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
