diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-02-16 16:50:47 +0100 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2021-02-19 22:15:50 +0100 |
commit | b0a82efa51ad3ba1117817817cbabe9c9a37b893 (patch) | |
tree | d1e4166163add9567794c5fbcd8f20e4e26ccf5c /drivers/xen/xen-front-pgdir-shbuf.c | |
parent | leds: lp50xx: Update headers block to reflect reality (diff) | |
download | linux-b0a82efa51ad3ba1117817817cbabe9c9a37b893.tar.xz linux-b0a82efa51ad3ba1117817817cbabe9c9a37b893.zip |
leds: lp50xx: Get rid of redundant explicit casting
In the line like
u32 bar = ...;
u8 foo = (u8)(bar >> 8) & 0xff;
is no need to have neither explicit casting nor ' & 0xff' part.
Get rid of them.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/xen/xen-front-pgdir-shbuf.c')
0 files changed, 0 insertions, 0 deletions