Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e967d336 authored by Mike Rapoport's avatar Mike Rapoport Committed by Greg Kroah-Hartman
Browse files

staging: sm750fb: remove unused MB(x) and KB(x) macros



The MB(x) and KB(x) macros are not used and therefore they can be
removed

Signed-off-by: default avatarMike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4cf26d85
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -7,7 +7,6 @@
/* please use revision id to distinguish sm750le and sm750*/
#define SPC_SM750 0

#define MB(x) ((x)<<20)
#define MHZ(x) ((x) * 1000000)
/* align should be 2,4,8,16 */
#define PADDING(align, data) (((data)+(align)-1)&(~((align) - 1)))
+0 −2
Original line number Diff line number Diff line
@@ -81,8 +81,6 @@ static inline unsigned int absDiff(unsigned int a, unsigned int b)

/* n / d + 1 / 2 = (2n + d) / 2d */
#define roundedDiv(num, denom)	((2 * (num) + (denom)) / (2 * (denom)))
#define MB(x) ((x)<<20)
#define KB(x) ((x)<<10)
#define MHz(x) ((x) * 1000000)