]> git.baikalelectronics.ru Git - kernel.git/commit
mm/mempolicy: remove unneeded out label
authorMiaohe Lin <linmiaohe@huawei.com>
Tue, 19 Jul 2022 11:52:33 +0000 (19:52 +0800)
committerakpm <akpm@linux-foundation.org>
Sat, 30 Jul 2022 01:07:16 +0000 (18:07 -0700)
commit979e3242b58d628eb5e3ca6b551734e0cd90d094
treea801c9c5db106484da237156ddff9548c7564525
parent359dbfb232c2b71d7d4d76374037c15a40dde850
mm/mempolicy: remove unneeded out label

We can use unlock label to unlock ptl and return ret directly to remove
the unneeded out label and reduce the size of mempolicy.o.  No functional
change intended.

[Before]
   text    data     bss     dec     hex filename
  26702    3972    6168   36842    8fea mm/mempolicy.o

[After]
   text    data     bss     dec     hex filename
  26662    3972    6168   36802    8fc2 mm/mempolicy.o

Link: https://lkml.kernel.org/r/20220719115233.6706-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/mempolicy.c