lkml.org 
[lkml]   [2014]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 11/55] scsi: Mark function as static in bfa/bfa_svc.c
    Mark functions as static in bfa/bfa_svc.c because they are not used
    outside this file.

    This eliminates the following warning in bfa/bfa_svc.c:
    drivers/scsi/bfa/bfa_svc.c:4378:1: warning: no previous prototype for ‘bfa_fcport_ddportenable’ [-Wmissing-prototypes]
    drivers/scsi/bfa/bfa_svc.c:4387:1: warning: no previous prototype for ‘bfa_fcport_ddportdisable’ [-Wmissing-prototypes]

    Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
    ---
    drivers/scsi/bfa/bfa_svc.c | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/drivers/scsi/bfa/bfa_svc.c b/drivers/scsi/bfa/bfa_svc.c
    index 625225f..a8329d3 100644
    --- a/drivers/scsi/bfa/bfa_svc.c
    +++ b/drivers/scsi/bfa/bfa_svc.c
    @@ -4374,7 +4374,7 @@ bfa_fcport_dportdisable(struct bfa_s *bfa)
    bfa_port_set_dportenabled(&bfa->modules.port, BFA_FALSE);
    }

    -void
    +static void
    bfa_fcport_ddportenable(struct bfa_s *bfa)
    {
    /*
    @@ -4383,7 +4383,7 @@ bfa_fcport_ddportenable(struct bfa_s *bfa)
    bfa_sm_send_event(BFA_FCPORT_MOD(bfa), BFA_FCPORT_SM_DDPORTENABLE);
    }

    -void
    +static void
    bfa_fcport_ddportdisable(struct bfa_s *bfa)
    {
    /*
    --
    1.7.9.5
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2014-03-29 19:21    [W:2.985 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site