Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7496378imu; Tue, 22 Jan 2019 07:00:38 -0800 (PST) X-Google-Smtp-Source: ALg8bN4qRRDQek3GD0tbkTpsQTkXFt6mkSx9GxfsqxRjGYHgktwJRAXHV7R+R02fHSvkdFqDqG9d X-Received: by 2002:a63:d604:: with SMTP id q4mr31942292pgg.175.1548169238427; Tue, 22 Jan 2019 07:00:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548169238; cv=none; d=google.com; s=arc-20160816; b=prpVaCmp6pCOVPBMyxYp4E16OqZ9UplP2u8LzO4OfTy7NY/lmh/ffqHVqcaqYR6y9P v8D2H0gRCNyl5yBoF0hJOCC0uQACJOlpD3Djwa9ctEJnw0YacJ62kEQ8ONTVz8ePJxB/ rME7k/lOuNpVi2rIwyEkBSRrvN9PC7ZbNU+soqGeeKccgEahEG64QqtwAjS6r0Hr1pV/ XLFYdXpibTRZjMpmPhkPPjxICb1BYX7n3GEGJ5eTtbMaNDzxPaHqNM382yET+pZB1Kn8 vjzv8fBn3QiBkjtDzpeyGpBJ2C1oi0ov5+xQC29SYKaYOf1X1mRyoLZuGb87XVfFGYVU j+Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=jtI7OsHNJKUnF0jgT6RGdHkuTsjU76HErfcI5jaY/tw=; b=XfQgQIsOGP0T/+KHOhU1ZzD7R2b9akLw64UR2ZfXxfi9sjY59peQyYPfhSO32wYGtS bFJRGD9JBT2egciecyYHGxYbd1ZlZHtioBe+RyuY9yefBVO/Jtdy5LKjgypB1PIJnKlo 6jsHcpx2BrB9YGB8bVX+rHTp9T89yOwV/Rox8NLfOTXUXoM9VOKQqKvZu23AEg4RIUft mur6/AXTR8mxgRaDMGVd6lRAgqQiK7ZyOvUHCTv0+obEvLD7DQjiis+2TRQa98P1qAso pjxC3DXC7CklfOdyude9rI45+7Zbr1NLRbWFqjwIR1KkbEaWZHa9xKyL/vqeD2MUSXLr m4bQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HPKbAz+H; 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 j5si15833671pfg.254.2019.01.22.07.00.20; Tue, 22 Jan 2019 07:00:38 -0800 (PST) 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=HPKbAz+H; 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 S1729034AbfAVO6S (ORCPT + 99 others); Tue, 22 Jan 2019 09:58:18 -0500 Received: from mail.kernel.org ([198.145.29.99]:37410 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728853AbfAVO6S (ORCPT ); Tue, 22 Jan 2019 09:58:18 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (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 13C1021721; Tue, 22 Jan 2019 14:58:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548169097; bh=G+WQwcnRE6zahJRQhFFcfB73LCT5sulYYfaDDPTEdgE=; h=From:To:Cc:Subject:Date:From; b=HPKbAz+HYESv8on9lNks2mjfITHM4wNFsO1ZzzbDRaf3W9aM5yi0pwkKnIVXwYHzh 0EtNQNN0mj/DPv9jzfUt/k/KbiP46RlNAWyPJZtjHZK1q425Mug9M/kJv3hvAejqHz I8//Q9tSjXwPh28bicuGGK0g9+W4ctW5lKykx7k0= From: Greg Kroah-Hartman To: Ralf Baechle , Paul Burton , James Hogan , John Crispin Cc: linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Greg Kroah-Hartman Subject: [PATCH 0/5] mips: cleanup debugfs usage Date: Tue, 22 Jan 2019 15:57:37 +0100 Message-Id: <20190122145742.11292-1-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When calling debugfs code, there is no need to ever check the return value of the call, as no logic should ever change if a call works properly or not. Fix up a bunch of x86-specific code to not care about the results of debugfs. Greg Kroah-Hartman (5): mips: cavium: no need to check return value of debugfs_create functions mips: ralink: no need to check return value of debugfs_create functions mips: mm: no need to check return value of debugfs_create functions mips: math-emu: no need to check return value of debugfs_create functions mips: kernel: no need to check return value of debugfs_create functions arch/mips/cavium-octeon/oct_ilm.c | 31 ++++----------------------- arch/mips/kernel/mips-r2-to-r6-emul.c | 21 ++++-------------- arch/mips/kernel/segment.c | 15 +++---------- arch/mips/kernel/setup.c | 7 +----- arch/mips/kernel/spinlock_test.c | 21 ++++-------------- arch/mips/kernel/unaligned.c | 16 ++++---------- arch/mips/math-emu/me-debugfs.c | 23 ++++---------------- arch/mips/mm/sc-debugfs.c | 15 +++---------- arch/mips/ralink/bootrom.c | 8 +------ 9 files changed, 28 insertions(+), 129 deletions(-) -- 2.20.1