Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4310947ybi; Sat, 6 Jul 2019 02:30:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqy9K4nkOaJvMTVFS45Bdx8SS7q21pdBXVZMhrytI7j/t18C0HvkhLdJypv7TvutAN+oPypb X-Received: by 2002:a17:90a:de02:: with SMTP id m2mr10670580pjv.18.1562405417759; Sat, 06 Jul 2019 02:30:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562405417; cv=none; d=google.com; s=arc-20160816; b=oeTr7sp1d39RZOTJAKjDZXDnf5vTiQU9MjV0T/JxBB+s1Kp2WCFwfk+hZZQ+tJGKrS pvUg6O/HRpyJ7Uo/5ug7KzV741QQLYCZh59DwUbITls+G5tNbmkFWV0RjH9Gv4US/TQm EO17XyA4XGtWw3jvvMUxLgeDJtDIRbUNFHymJ0vhNE8xDzQHgU1kaUUUQBJV53yhATto KWfoI5bBtHFh9LJ/+tqjGEQhLzAHXHG4lweQkxEOI4KZxHa10lan0me4ZPpzK/G+Fahq y/Gz3FlG6TBJ1gMWscz7swb4CUneUDcmNtHymCrh8AmpT+PYPCdwmjBAEkw2/s06dfua oTkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :from:date:dkim-signature; bh=Kdrp1xzIoqzb2C8dFQNGFjXgUwF8rHzVF1xEj7YTh2g=; b=j4dN4YysBodeqeSJvu5X4WNHpfBGqB7kOAwYakV1ME60kZMHfZHLbWkcdFe97aYA8f q2gqM2fABDuxiVSaqScuEBxgy5SxrwYf4DSLWwLsUz023b/w15ZORbwiQ6+QmjXbgcbV 36K2S4e71Uwbs/G+ZvVPupGxUKOyD9ukY/7uZEQCJ/WFNJTx6DnMN2hV9M5+JfKihnYS alHUJZWuJinmWEApoxo7gEKvK6HUrk1DacqHtIFTCgPHdHbl1edDAhBNb98w+Gk5l9rY 3OXNXk/1jFixtfKfu71OTaD/JW+94m7VQgC6INKWHQLJEVe1i9Wd1+otcqQcsLKg3usP ap5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=aamOu0XK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d18si11854783pfn.202.2019.07.06.02.30.02; Sat, 06 Jul 2019 02:30:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=aamOu0XK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726028AbfGFJ3T (ORCPT + 99 others); Sat, 6 Jul 2019 05:29:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:40536 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725934AbfGFJ3T (ORCPT ); Sat, 6 Jul 2019 05:29:19 -0400 Received: from localhost (unknown [62.119.166.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DE45220838; Sat, 6 Jul 2019 09:29:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562405358; bh=q0ChCYbw9BUDkWl5qTb6N9u6aCLW/OO4j39NqDScVdE=; h=Date:From:To:Subject:References:In-Reply-To:From; b=aamOu0XKXSBhtt1yKpU6r/ss1xC8nZzgJj4jyUslKR76f+Ra2rEh4O8h/yEl7rD6V ieQX+PHjtC9RbnIPPDP4hxoy0JuqaDIsgqW1m573K/ooKz9bzdHenhr65sRbFBEarR 0fihP89c8qhaBtcYn0lQlkZAGBnLZYdvNAQNBj6U= Date: Sat, 6 Jul 2019 11:28:56 +0200 From: Greg Kroah-Hartman To: Samuel Thibault , Markus Elfring , speakup@linux-speakup.org, devel@driverdev.osuosl.org, Bhagyashri Dighole , Chris Brannon , Kirk Reiser , Okash Khawaja , William Hubbs , LKML , kernel-janitors@vger.kernel.org Subject: Re: [PATCH] staging: speakup: One function call less in speakup_win_enable() Message-ID: <20190706092856.GA15480@kroah.com> References: <11f79333-25c3-1ad9-4975-58c64821f3fe@web.de> <20190706090019.rivposzrqesodhso@function> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190706090019.rivposzrqesodhso@function> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 06, 2019 at 11:00:19AM +0200, Samuel Thibault wrote: > Markus Elfring, le sam. 06 juil. 2019 10:15:30 +0200, a ecrit: > > From: Markus Elfring > > Date: Sat, 6 Jul 2019 10:03:56 +0200 > > > > Avoid an extra function call by using a ternary operator instead of > > a conditional statement. > > > > This issue was detected by using the Coccinelle software. > > > > Signed-off-by: Markus Elfring > > Reviewed-by: Samuel Thibault Sorry, but this author/bot is in my kill-file and I no longer accept patches from them. And I HATE ternary operators anyway, so it's not like I would take this patch if it came from someone else :) thanks, greg k-h