Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nodemask.h: remove macro any_online_node
The macro any_online_node() is prone to producing sparse warnings due to the local symbol 'node'. Since all the in-tree users are really requesting the first online node (the mask argument is either NODE_MASK_ALL or node_online_map) just use the first_online_node macro and remove the any_online_node macro since there are no users. Signed-off-by: H Hartley Sweeten <[email protected]> Acked-by: David Rientjes <[email protected]> Reviewed-by: KAMEZAWA Hiroyuki <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Lee Schermerhorn <[email protected]> Acked-by: Benjamin Herrenschmidt <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Dave Hansen <[email protected]> Cc: Milton Miller <[email protected]> Cc: Nathan Fontenot <[email protected]> Cc: Geoff Levand <[email protected]> Cc: Grant Likely <[email protected]> Cc: J. Bruce Fields <[email protected]> Cc: Neil Brown <[email protected]> Cc: Trond Myklebust <[email protected]> Cc: David S. Miller <[email protected]> Cc: Benny Halevy <[email protected]> Cc: Chuck Lever <[email protected]> Cc: Ricardo Labiaga <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information