Skip to contentSkip to conversation

tile:Remove unused marcos from the file tilepro.c

PATCH Chris Metcalf 1 participant 1 message Jul 8, 2015 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 8 lines · Nicholas Krause

This removes no longer used marcos at the top of the driver due tilepro.c due to having no proper values nor never being used by this driver code.

---
  drivers/net/ethernet/tile/tilepro.c | 13 -------------
  1 file changed, 13 deletions(-)

I'm not sure what you mean by "no longer used". They are all potentially usable to enable chunks of code lower down in the driver, they're just not enabled by default. So, nack.

Also, "no proper values" doesn't make a lot of sense; if you specify "#define FOO" it implicitly defines it to the empty string. Regardless, it doesn't matter what value it is defined to if the only uses are "#ifdef", as is true here.

Signature · 2 lines
Chris Metcalf, EZChip Semiconductor
http://www.ezchip.com