arch/tiva: Remove dead store
* arch/arm/src/tiva/common/tiva_can.c: (tiva_can_initialize): Remove the local variable 'canmod', which was assigned but never used.
This commit is contained in:
parent
4b4004b874
commit
f63754c4c0
|
@ -2344,7 +2344,6 @@ static int tivacan_initfilter(struct can_dev_s *dev,
|
|||
int tiva_can_initialize(char *devpath, int modnum)
|
||||
{
|
||||
struct can_dev_s *dev;
|
||||
struct tiva_canmod_s *canmod;
|
||||
int ret;
|
||||
caninfo("tiva_can_initialize module %d\n", modnum);
|
||||
|
||||
|
@ -2372,8 +2371,6 @@ int tiva_can_initialize(char *devpath, int modnum)
|
|||
}
|
||||
#endif
|
||||
|
||||
canmod = dev->cd_priv;
|
||||
|
||||
/* Register the driver */
|
||||
|
||||
ret = can_register(devpath, dev);
|
||||
|
|
Loading…
Reference in New Issue