Skip to content

Commit

Permalink
mm: remove dummy struct bootmem_data/bootmem_data_t
Browse files Browse the repository at this point in the history
Both bootmem_data and bootmem_data_t structures are no longer defined.
Remove the dummy forward declarations.

Signed-off-by: Waiman Long <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Baoquan He <[email protected]>
Acked-by: Mike Rapoport <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Waiman-Long authored and torvalds committed Apr 7, 2020
1 parent 1386f7a commit 6218d74
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions arch/alpha/include/asm/mmzone.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

#include <asm/smp.h>

struct bootmem_data_t; /* stupid forward decl. */

/*
* Following are macros that are specific to this numa platform.
*/
Expand Down
1 change: 0 additions & 1 deletion include/linux/mmzone.h
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,6 @@ struct deferred_split {
* Memory statistics and page replacement data structures are maintained on a
* per-zone basis.
*/
struct bootmem_data;
typedef struct pglist_data {
struct zone node_zones[MAX_NR_ZONES];
struct zonelist node_zonelists[MAX_ZONELISTS];
Expand Down

0 comments on commit 6218d74

Please sign in to comment.