[2.6 patch] drivers/md/raid1.c: make a function static

From: Adrian Bunk (bunk_at_stusta.de)
Date: 08/22/05

  • Next message: tony.luck_at_intel.com: "RE: CONFIG_PRINTK_TIME woes"
    Date:	Mon, 22 Aug 2005 22:10:43 +0200
    To: mingo@redhat.com, neilb@cse.unsw.edu.au
    
    

    This patch makes a needlessly global function static.

    Signed-off-by: Adrian Bunk <bunk@stusta.de>

    --- linux-2.6.13-rc6-mm1-full/drivers/md/raid1.c.old 2005-08-22 02:50:14.000000000 +0200
    +++ linux-2.6.13-rc6-mm1-full/drivers/md/raid1.c 2005-08-22 02:50:31.000000000 +0200
    @@ -1703,7 +1703,7 @@
             return 0;
     }
     
    -void raid1_quiesce(mddev_t *mddev, int state)
    +static void raid1_quiesce(mddev_t *mddev, int state)
     {
             conf_t *conf = mddev_to_conf(mddev);
     

    -
    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/


  • Next message: tony.luck_at_intel.com: "RE: CONFIG_PRINTK_TIME woes"

    Relevant Pages

    • [2.6 patch] drivers/md/raid1.c: make a function static
      ... This patch makes a needlessly global function static. ... +static void raid1_quiesce(mddev_t *mddev, int state) ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: hpt366 ptr use before NULL check.
      ... Oops, missed one. ... static int hpt370_busproc(ide_drive_t * drive, int state) ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)