staging: sm750fb: remove defintion of offsetof
There is no need to redefine offsetof Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7a81b9477a
commit
b108da7586
1 changed files with 0 additions and 4 deletions
|
@ -155,10 +155,6 @@ struct lynxfb_par {
|
|||
struct lynx_share *share;
|
||||
};
|
||||
|
||||
#ifndef offsetof
|
||||
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
|
||||
#endif
|
||||
|
||||
static inline unsigned long ps_to_hz(unsigned int psvalue)
|
||||
{
|
||||
unsigned long long numerator = 1000*1000*1000*1000ULL;
|
||||
|
|
Loading…
Reference in a new issue