Tag: 0327dab0e88b2f4be6ad7dcd5af86d085d2c0603

s390/topology: use for_each_set_bit to simplify the code

Author: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Use for_each_set_bit() to simplify the code. spatch with a semantic match is used to found this. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky — arch/s390/kernel/topology.c | 5 +—- 1 file changed, 1 insertion(+), 4 deletions(-)   diff –git a/arch/s390/kernel/topology.c b/arch/s390/kernel/topology.c index 30c8533..54d93f4 100644 — a/arch/s390/kernel/topology.c +++ b/arch/s390/kernel/topology.c @@ …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.