i2c: sh_mobile: avoid unused ret variable
authorEugeniu Rosca <erosca@de.adit-jv.com>
Tue, 15 Aug 2017 20:36:24 +0000 (22:36 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 17 Aug 2017 19:52:57 +0000 (21:52 +0200)
commit75fdc51832492d183f477442e406fc745546307c
tree175389abe329fbbce7fcdfbc8ed518071af32e6f
parent8ae034c2cac93813de1fa10d7167112f71335ccd
i2c: sh_mobile: avoid unused ret variable

Fix smatch warning:
drivers/i2c/busses/i2c-sh_mobile.c:564 \
  sh_mobile_i2c_request_dma_chan() warn: unused return: ret = PTR_ERR()

Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-sh_mobile.c