lkml.org 
[lkml]   [2015]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subject[PATCH 0/2] ARM-kernel: Deletion of unnecessary checks before two function calls
    From: Markus Elfring <elfring@users.sourceforge.net>

    Some functions 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 "smp_set_ops"
    Delete a check before the function call "unwind_table_del"

    arch/arm/kernel/module.c | 3 +--
    arch/arm/kernel/setup.c | 2 +-
    2 files changed, 2 insertions(+), 3 deletions(-)

    --
    2.4.4



    \
     
     \ /
      Last update: 2015-06-25 15:41    [W:4.018 / U:0.116 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site