i2c: rcar: avoid unused ret variable
authorEugeniu Rosca <erosca@de.adit-jv.com>
Tue, 15 Aug 2017 20:36:23 +0000 (22:36 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 17 Aug 2017 19:52:36 +0000 (21:52 +0200)
commit8ae034c2cac93813de1fa10d7167112f71335ccd
treeafa688193893aaafcbea39d8aaf685d129774182
parentc6a6bdbdc6cc07257889849d9ddf7256cbf3acbc
i2c: rcar: avoid unused ret variable

Fix smatch warning:
drivers/i2c/busses/i2c-rcar.c:628 \
  rcar_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-rcar.c