From patchwork Tue Jun 27 08:19:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: baomingtong001@208suo.com X-Patchwork-Id: 697560 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7863EB64D9 for ; Tue, 27 Jun 2023 08:20:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230413AbjF0IUC (ORCPT ); Tue, 27 Jun 2023 04:20:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231669AbjF0IT7 (ORCPT ); Tue, 27 Jun 2023 04:19:59 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4370B109 for ; Tue, 27 Jun 2023 01:19:58 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4QqyLd3xpbzBJBWv for ; Tue, 27 Jun 2023 16:19:53 +0800 (CST) Authentication-Results: mail.208.org (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=208.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=208.org; h= content-transfer-encoding:content-type:message-id:user-agent :subject:to:from:date:mime-version; s=dkim; t=1687853993; x= 1690445994; bh=jY7GM3rqeJ9VfWC97Fh6x7E9dEWzSb9DMFgD9naR1Xw=; b=f rQn6QORX2aaHA3uO3Dp87wfgGsBZX+8jQhRVXRoa/mBpSsFoxx0v3kYH8css+YFk +54o5TFG5yGODOLnkzXQC/H2PB6QOs/b5UpuNUbhYOAKAtnU/0+UOKxi+mVnxAMV MQ9Jw2npILrHRXyGcCiuWcS+xelsjdwuxKEisHgfbdr/ALA35lvMkzXz/Dkk8xNq 0s7It/1rDXqCyD6UCGjOEmZqIcR4YTovr3l4+bMTaW/n6XCAXknNg18AMz1rEQn6 HyxwT0Jsm5lq4uvixc33K322YShJcFlBwzUPaIT/sY4jc3ii47OuDma4NX/kVdj0 MX/t9V1ZtFbM2hkQ6M+Aw== X-Virus-Scanned: amavisd-new at mail.208.org Received: from mail.208.org ([127.0.0.1]) by mail.208.org (mail.208.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id PD4x1znJ5x0c for ; Tue, 27 Jun 2023 16:19:53 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4QqyLd0Jb5zBJBHT; Tue, 27 Jun 2023 16:19:53 +0800 (CST) MIME-Version: 1.0 Date: Tue, 27 Jun 2023 16:19:52 +0800 From: baomingtong001@208suo.com To: jikos@kernel.org, benjamin.tissoires@redhat.com Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] samples/hid: hid_surface_dial: Remove unneeded semicolon User-Agent: Roundcube Webmail Message-ID: <8a1926c8717b152be6a7051c47959a50@208suo.com> X-Sender: baomingtong001@208suo.com Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org ./samples/hid/hid_surface_dial.c:170:5-6: Unneeded semicolon Signed-off-by: Mingtong Bao --- samples/hid/hid_surface_dial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/hid/hid_surface_dial.c b/samples/hid/hid_surface_dial.c index 4bc97373a708..704f2b639492 100644 --- a/samples/hid/hid_surface_dial.c +++ b/samples/hid/hid_surface_dial.c @@ -167,7 +167,7 @@ int main(int argc, char **argv) "invalid r option %s - expecting a number\n", optarg ? optarg : ""); exit(EXIT_FAILURE); - }; + } resolution = (int) l; break;