drivers: eth_smsc911x_priv: Remove obsolete macros

Back with commit a1b77fd589 huge chunk of code was automatically
refactored using a script, which in turn left some macros meaningless

Signed-off-by: Hristo Mitrev <hr.mitrev@gmail.com>
This commit is contained in:
Hristo Mitrev 2022-03-15 18:12:30 +02:00 committed by Carles Cufí
parent 2ef47509c3
commit b64a83822c

View file

@ -40,10 +40,6 @@
#define __IO
#endif
#define uint32_t uint32_t
#define uint16_t uint16_t
#define uint8_t uint8_t
#define GET_BITFIELD(val, lsb, msb) \
(((val) >> (lsb)) & ((1 << ((msb) - (lsb) + 1)) - 1))
#define BFIELD(val, name) GET_BITFIELD(val, name ## _Lsb, name ## _Msb)