eeprom: at24: remove a reduntant if
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 11 Apr 2016 18:57:17 +0000 (11:57 -0700)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 16 Apr 2016 20:46:45 +0000 (22:46 +0200)
commit5057e8e07f2521649eb444492433f419f93de37a
tree0bbb5a2f4df0d5778073f10eabffee0aca8dca40
parent1ab92956d4aac52d0c59c229a0790a672063ece0
eeprom: at24: remove a reduntant if

The second check for I2C_FUNC_I2C is reduntant, so remove it.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
[wsa: reworded commit message]
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/misc/eeprom/at24.c