diff options
| author | Masahiro Yamada <[email protected]> | 2016-10-24 17:00:29 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-11-10 14:30:08 +0100 |
| commit | 94cbb6978b63d004502eed24417aceb7b36bc10a (patch) | |
| tree | a6535edd940a60f52ad5130dcdc125adc438b60f /fs/jbd2/commit.c | |
| parent | 5131dcd7810806fe4ff81ca23dadb47921285e36 (diff) | |
serial: 8250_uniphier: hardcode regshift to avoid unneeded memory read
For this driver, uart_port::regshift is always 2. Hardcode the
shift value instead of reading ->regshift to get an already known
value. (pointed out by Denys Vlasenko)
Furthermore, I am using register macros that are already shifted,
which will save code a bit.
Signed-off-by: Masahiro Yamada <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions