Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932469AbbFFMse (ORCPT ); Sat, 6 Jun 2015 08:48:34 -0400 Received: from smtprelay2.synopsys.com ([198.182.60.111]:56236 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932292AbbFFMsU convert rfc822-to-8bit (ORCPT ); Sat, 6 Jun 2015 08:48:20 -0400 From: Vineet Gupta To: Tobias Klauser , Vineet Gupta CC: "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] ARC: perf: Remove unnecessary local variable Thread-Topic: [PATCH] ARC: perf: Remove unnecessary local variable Thread-Index: AQHQfmiOO5ObXSsooE+B96pOpcCBVg== Date: Sat, 6 Jun 2015 12:48:14 +0000 Message-ID: References: <1429864054-15347-1-git-send-email-tklauser@distanz.ch> Accept-Language: en-US, en-IN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.12.197.3] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 532 Lines: 15 On Friday 24 April 2015 01:57 PM, Tobias Klauser wrote: > Directly return the result of perf_pmu_register() in > arc_pmu_device_probe() instead of assigning and returning variable ret. > > Signed-off-by: Tobias Klauser Applied to ARC for-next Thx Tobias, -Vineet -- 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/