Skip to content

Commit

Permalink
MIPS: Drop unused PTR_COUNT_SHIFT from u-boot.lds
Browse files Browse the repository at this point in the history
The u-boot.lds linker script for MIPS defines a PTR_COUNT_SHIFT macro to
2 or 3 for 32 bit or 64 bit builds respectively. This macro is never
actually used though, so remove the dead code.

Signed-off-by: Paul Burton <[email protected]>
Cc: Daniel Schwierzeck <[email protected]>
  • Loading branch information
paulburton authored and danielschwierzeck committed Nov 28, 2017
1 parent 64f733d commit 73780b0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions arch/mips/cpu/u-boot.lds
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
* SPDX-License-Identifier: GPL-2.0+
*/

#if defined(CONFIG_64BIT)
#define PTR_COUNT_SHIFT 3
#else
#define PTR_COUNT_SHIFT 2
#endif

OUTPUT_ARCH(mips)
ENTRY(_start)
SECTIONS
Expand Down

0 comments on commit 73780b0

Please sign in to comment.