Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1310175

Re: InfiniBand-ocrdma: Delete unnecessary variable initialisations in 11 functions

From SF Markus Elfring <elfring@users.sourceforge.net>
Newsgroups linux.kernel
Subject Re: InfiniBand-ocrdma: Delete unnecessary variable initialisations in 11 functions
Date 2016-01-15 16:00 +0100
Message-ID <qRe14-7zo-13@gated-at.bofh.it> (permalink)
References <qEuGl-43C-5@gated-at.bofh.it> <qK1UZ-4ry-3@gated-at.bofh.it> <qQTJ0-1H2-11@gated-at.bofh.it> <qQUc2-1S2-17@gated-at.bofh.it> <qRcBY-6DV-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


>> The variable "status" will be set to an appropriate value a bit later.
>> Thus omit the explicit initialisation at the beginning.
> 
> What did you try to achieve by this patch?

I would like to optimise the affected source files a bit.
Would you like to clarify any measurable effects around the implementation
detail when various variables will only be initialised immediately
before they will be read again?

Regards,
Markus

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/6] InfiniBand-ocrdma: Fine-tuning for some function  implementations SF Markus Elfring <elfring@users.sourceforge.net> - 2016-01-14 18:20 +0100
  [PATCH v3 1/6] InfiniBand-ocrdma: One jump label less in  ocrdma_alloc_ucontext_pd() SF Markus Elfring <elfring@users.sourceforge.net> - 2016-01-14 18:40 +0100
  [PATCH v3 3/6] InfiniBand-ocrdma: Returning only value constants in  ocrdma_qp_state_change() SF Markus Elfring <elfring@users.sourceforge.net> - 2016-01-14 18:50 +0100
  [PATCH v3 2/6] InfiniBand-ocrdma: Delete unnecessary variable  initialisations in 11 functions SF Markus Elfring <elfring@users.sourceforge.net> - 2016-01-14 18:50 +0100
    Re: [PATCH v3 2/6] InfiniBand-ocrdma: Delete unnecessary variable  initialisations in 11 functions Leon Romanovsky <leon@leon.nu> - 2016-01-15 14:30 +0100
      Re: InfiniBand-ocrdma: Delete unnecessary variable initialisations in  11 functions SF Markus Elfring <elfring@users.sourceforge.net> - 2016-01-15 16:00 +0100
        Re: InfiniBand-ocrdma: Delete unnecessary variable initialisations  in 11 functions Leon Romanovsky <leon@leon.nu> - 2016-01-15 16:10 +0100
          Re: InfiniBand-ocrdma: Delete unnecessary variable initialisations in  11 functions SF Markus Elfring <elfring@users.sourceforge.net> - 2016-01-15 16:30 +0100
            Re: InfiniBand-ocrdma: Delete unnecessary variable initialisations  in 11 functions Leon Romanovsky <leon@leon.nu> - 2016-01-15 17:00 +0100
              Re: InfiniBand-ocrdma: Delete unnecessary variable initialisations  in 11 functions Dan Carpenter <dan.carpenter@oracle.com> - 2016-01-15 17:20 +0100
              Re: InfiniBand-ocrdma: Delete unnecessary variable initialisations in  11 functions SF Markus Elfring <elfring@users.sourceforge.net> - 2016-01-15 17:30 +0100
                Re: InfiniBand-ocrdma: Delete unnecessary variable initialisations  in 11 functions Leon Romanovsky <leon@leon.nu> - 2016-01-15 18:10 +0100
                Re: InfiniBand-ocrdma: Delete unnecessary variable initialisations  in 11 functions Leon Romanovsky <leon@leon.nu> - 2016-01-15 18:50 +0100
                Re: InfiniBand-ocrdma: Delete unnecessary variable initialisations in  11 functions SF Markus Elfring <elfring@users.sourceforge.net> - 2016-01-15 19:30 +0100
                Re: InfiniBand-ocrdma: Delete unnecessary variable initialisations  in 11 functions Leon Romanovsky <leon@leon.nu> - 2016-01-16 07:20 +0100
                Re: InfiniBand-ocrdma: Delete unnecessary variable initialisations in  11 functions SF Markus Elfring <elfring@users.sourceforge.net> - 2016-01-16 09:40 +0100
  [PATCH v3 4/6] InfiniBand-ocrdma: Return a value from a function call  in _ocrdma_modify_qp() directly SF Markus Elfring <elfring@users.sourceforge.net> - 2016-01-14 18:50 +0100
  [PATCH v3 6/6] InfiniBand-ocrdma: Delete an unnecessary variable in  ocrdma_dealloc_pd() SF Markus Elfring <elfring@users.sourceforge.net> - 2016-01-14 19:00 +0100
  [PATCH v3 5/6] InfiniBand-ocrdma: Returning only value constants in  ocrdma_resize_cq() SF Markus Elfring <elfring@users.sourceforge.net> - 2016-01-14 19:00 +0100

csiph-web