lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 29 Sep 2015 13:26:00 +0200
From:	Javier Martinez Canillas <javier@....samsung.com>
To:	linux-kernel@...r.kernel.org
Cc:	Javier Martinez Canillas <javier@....samsung.com>,
	patches@...nsource.wolfsonmicro.com,
	Lee Jones <lee.jones@...aro.org>,
	Support Opensource <support.opensource@...semi.com>,
	Samuel Ortiz <sameo@...ux.intel.com>
Subject: [PATCH 0/8] mfd: Simplify return logic

Hello Lee,

This series contains trivial patches that simplify the return logic in
a number of functions in mfd drivers. All these were found by running
make coccichek M=drivers/mfd.

The patches don't contain functional changes but makes the functions
simpler and removes unnecessary lines of code.

Best regards,
Javier


Javier Martinez Canillas (8):
  mfd: htc-i2cpld: Remove unneded ret variable
  mfd: arizona: Remove unneded ret variable
  mfd: pcf50633: Remove unneded ret variable
  mfd: kempld-core: Simplify function return logic
  mfd: rtsx: Simplify function return logic
  mfd: da903x: Simplify function return logic
  mfd: da9052: Simplify function return logic
  mfd: lm3533: Simplify function return logic

 drivers/mfd/arizona-core.c |  4 +---
 drivers/mfd/da903x.c       |  6 +-----
 drivers/mfd/da9052-i2c.c   |  6 +-----
 drivers/mfd/da9052-spi.c   |  6 +-----
 drivers/mfd/htc-i2cpld.c   |  3 +--
 drivers/mfd/kempld-core.c  | 14 ++------------
 drivers/mfd/lm3533-core.c  | 12 ++----------
 drivers/mfd/pcf50633-irq.c |  4 ++--
 drivers/mfd/rts5209.c      |  6 +-----
 drivers/mfd/rts5227.c      |  6 +-----
 drivers/mfd/rts5229.c      |  6 +-----
 drivers/mfd/rts5249.c      |  6 +-----
 drivers/mfd/rtsx_pcr.c     |  6 +-----
 13 files changed, 16 insertions(+), 69 deletions(-)

-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ