From patchwork Tue Nov 1 21:14:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe JAILLET X-Patchwork-Id: 13897 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp3216551wru; Tue, 1 Nov 2022 14:24:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5tb/d8SCCXIIieT1d0OQA5CdMwjJgaNi2au3pPzM8dyPJPs+RNC3BCJL+OBXYJZIo/iulU X-Received: by 2002:a62:e30f:0:b0:56c:27f0:db49 with SMTP id g15-20020a62e30f000000b0056c27f0db49mr21043897pfh.13.1667337840302; Tue, 01 Nov 2022 14:24:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667337840; cv=none; d=google.com; s=arc-20160816; b=0tvRu9qvMBeUIr7U1fhO+lv1G6lJoG6/PAOm2+u51d/55bgumYiAy3grNrbkZ75Jua lEggVPvsx07YwqSzU5kqKkQmXyhtzrYXm0D0U+F/1ct7OKu5UNOeZScCOoTTkoSY1wOs 6oM0x1B5M6iMuuXEqQefOCnKIjNl1HoRVw+lJD31lHLeMthnLMf69/4Y1vtAA96ajeDZ 8vZwNLj7L1xyTc3OLf0NWZHWcAaP9obyQm/4ZRZRcvUKva7JVk2j2uliuf0Zen7xFQSO t7wLSJnOBxiBd3VxEIhb8ZfhHf2m6LxOVkQJFFMhoAbJAqYygSat8ITNqCfNRojF5S3O drBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from; bh=XrOVcwnWSnKen5cBhkVqRJ7EP0nneWiho7gZ6YfbjB8=; b=NtUrvGV8gFKNe4sSeVQCbPSkBhFUEGgaNw1qn1nSMbFRlnvgzGb9WCSWHa34EiNxD8 gkQ0VCVyT2PHbvfTo3/+D9G4604uL7xhN2gKrH1TD4LxK8ebPhtScFHiJ8o8G8o/VGqN krYek4DJBfyBU4/BDNDpS5n+Fh8SpQfShZP5e2gtyp4xGwY/jGDRVowYRknue/KjVYP2 4ooZLaMv8GR27KBC9a7ukI5tQ9tHpINKcFEbOPHUENVnz4Br1/x8FaibzvvegE0hfVcw ElIm6bnPR3u020PxiyD8caDMElu6a8dV8MbbK/Y6ivXL+2naKGvJgXnZuhOd0n55B2pG mVIQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e9-20020a170902e0c900b0017f829330e3si11607685pla.70.2022.11.01.14.23.47; Tue, 01 Nov 2022 14:24:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230307AbiKAVRQ (ORCPT + 99 others); Tue, 1 Nov 2022 17:17:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230480AbiKAVQM (ORCPT ); Tue, 1 Nov 2022 17:16:12 -0400 Received: from smtp.smtpout.orange.fr (smtp-15.smtpout.orange.fr [80.12.242.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCD711DDEF for ; Tue, 1 Nov 2022 14:15:35 -0700 (PDT) Received: from pop-os.home ([86.243.100.34]) by smtp.orange.fr with ESMTPA id pyanoKD2rsfCIpybeoWfNn; Tue, 01 Nov 2022 22:15:34 +0100 X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Tue, 01 Nov 2022 22:15:34 +0100 X-ME-IP: 86.243.100.34 From: Christophe JAILLET Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET Subject: [PATCH 30/30] kstrtox: Remove strtobool() Date: Tue, 1 Nov 2022 22:14:18 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748330443573523868?= X-GMAIL-MSGID: =?utf-8?q?1748330443573523868?= strtobool() is the same as kstrtobool(). All uses of strtobool() have been turned into kstrtobool(). So strtobool() can now be removed as well. Signed-off-by: Christophe JAILLET --- include/linux/kernel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/kernel.h b/include/linux/kernel.h index fe6efb24d151..244b92041cb0 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h @@ -20,7 +20,7 @@ #include #include #include -#include +//#include #include #include #include