staging: greybus: i2c.c: remove commented out function
Remove function gb_i2c_smbus_xfer() which is unused. Signed-off-by: Lourdes Pedrajas <lu@pplo.net> Link: https://lore.kernel.org/r/20200309170643.4947-1-lu@pplo.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b642a2f931
commit
add1a2faba
|
@ -215,20 +215,6 @@ static int gb_i2c_master_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs,
|
|||
return gb_i2c_transfer_operation(gb_i2c_dev, msgs, msg_count);
|
||||
}
|
||||
|
||||
#if 0
|
||||
/* Later */
|
||||
static int gb_i2c_smbus_xfer(struct i2c_adapter *adap,
|
||||
u16 addr, unsigned short flags, char read_write,
|
||||
u8 command, int size, union i2c_smbus_data *data)
|
||||
{
|
||||
struct gb_i2c_device *gb_i2c_dev;
|
||||
|
||||
gb_i2c_dev = i2c_get_adapdata(adap);
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
static u32 gb_i2c_functionality(struct i2c_adapter *adap)
|
||||
{
|
||||
struct gb_i2c_device *gb_i2c_dev = i2c_get_adapdata(adap);
|
||||
|
|
Loading…
Reference in a new issue