ARM-OMAP2+: Deletion of unnecessary checks before two function calls
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ARM-OMAP2+: Delete an unnecessary check before the function call "omap_device_delete"arch/ | +1 | 0 replies | |
| 2/2 | ARM-OMAP2+: Delete an unnecessary check before the function call "of_node_put"arch/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] ARM-OMAP2+: Deletion of unnecessary checks before two function calls
From: Markus Elfring <[email protected]>
Date: Thu, 25 Jun 2015 13:24:35 +0200
Some functions which release a system resource tolerate the passing of a null pointer. I do not see a need because of this fact that a function caller repeats a corresponding check.
Markus Elfring (2):
Delete a check before the function call "omap_device_delete" Delete a check before the function call "of_node_put"
arch/arm/mach-omap2/omap_device.c | 3 +-- arch/arm/mach-omap2/timer.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-)
Signature · 1 line
2.4.4