From: Jeff Kirsher Date: Mon, 12 Aug 2019 08:49:35 -0700 Subject: [Intel-wired-lan] [PATCH v3 16/17] ixgbe: no need to check return value of debugfs_create functions In-Reply-To: <20190810101732.26612-17-gregkh@linuxfoundation.org> References: <20190810101732.26612-1-gregkh@linuxfoundation.org> <20190810101732.26612-17-gregkh@linuxfoundation.org> Message-ID: <1ddf059408158e6a1819f222127b353476110ba4.camel@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: intel-wired-lan@osuosl.org List-ID: On Sat, 2019-08-10 at 12:17 +0200, Greg Kroah-Hartman wrote: > When calling debugfs functions, there is no need to ever check the > return value. The function can work or not, but the code logic > should > never do something different based on this. > > Cc: Jeff Kirsher > Cc: "David S. Miller" > Cc: intel-wired-lan at lists.osuosl.org > Cc: netdev at vger.kernel.org > Signed-off-by: Greg Kroah-Hartman Acked-by: Jeff Kirsher > --- > .../net/ethernet/intel/ixgbe/ixgbe_debugfs.c | 22 +++++---------- > ---- > 1 file changed, 5 insertions(+), 17 deletions(-) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: This is a digitally signed message part URL: