Skip to contentSkip to conversation

mm/mempolicy: Remove the useless newline in policy_node()

PATCH New [email protected] 1 participant 1 message Aug 17, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mm/mempolicy: Remove the useless newline in policy_node()

From: Yanfei Xu <[email protected]>

Remove the useless newline among policy_node parameters, that makes code neater.

---
 mm/mempolicy.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
mm/mempolicy.c +1 -2
index afaa09ff9f6c..a345ad50b86f 100644
@@ -1885,8 +1885,7 @@ nodemask_t *policy_nodemask(gfp_t gfp, struct mempolicy *policy)
 }
 
 /* Return the node id preferred by the given mempolicy, or the given id */
-static int policy_node(gfp_t gfp, struct mempolicy *policy,
-								int nd)
+static int policy_node(gfp_t gfp, struct mempolicy *policy, int nd)
 {
 	if (policy->mode == MPOL_PREFERRED && !(policy->flags & MPOL_F_LOCAL))
 		nd = policy->v.preferred_node;
Signature · 1 line
2.18.2