diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2020-04-22 22:00:18 +0300 |
---|---|---|
committer | Tudor Ambarus <tudor.ambarus@microchip.com> | 2020-05-31 07:28:48 +0300 |
commit | 0fa712c9db96b2c453809f85614aa008740ca8ec (patch) | |
tree | 4a103bdef79dce37b8b2baffa7e8711dbb722e5f /drivers/net/ethernet/marvell | |
parent | dec18bd8f4f2c600df581c075d59747e73bf6f3f (diff) |
mtd: spi-nor: sfdp: add/use local variable in spi_nor_parse_bfpt()
Despite of how spi_nor_parse_bfpt() abuses the structure fields during
their calculation, gcc manages to make some decent code out of that. :-)
Yet adding a local variable to store the BFPT DWORDs during calculations
still saves 12 bytes of the object code (AArch64 gcc 4.8.5)...
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Diffstat (limited to 'drivers/net/ethernet/marvell')
0 files changed, 0 insertions, 0 deletions