Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752170AbbGMOUf (ORCPT ); Mon, 13 Jul 2015 10:20:35 -0400 Received: from mail-ob0-f180.google.com ([209.85.214.180]:34100 "EHLO mail-ob0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751511AbbGMOUd (ORCPT ); Mon, 13 Jul 2015 10:20:33 -0400 MIME-Version: 1.0 In-Reply-To: <1436300535-1230-1-git-send-email-laurent.navet@gmail.com> References: <1436300535-1230-1-git-send-email-laurent.navet@gmail.com> From: Alexandre Courbot Date: Mon, 13 Jul 2015 23:20:13 +0900 Message-ID: Subject: Re: [PATCH] gpiolib: remove unneeded assignation To: Laurent Navet Cc: Linus Walleij , "linux-gpio@vger.kernel.org" , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 578 Lines: 15 On Wed, Jul 8, 2015 at 5:22 AM, Laurent Navet wrote: > ret is assigned value from of_property_read_string_index but is > overwritten before being used so remove it. > Also fix coverity CID 1309759 You should probably have a line that says Reported-by: coverity (CID 1309759) As other similar patches do. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/