2.6.39-rc2:Removed the unused variable for build warnings
Subsystems (6)
PATCH 1/1 2.6.39-rc2:Removed the unused variable for build warnings
From: Wanlong Gao <[email protected]>
Removed the unused variable for avoiding the build warnings.
--- arch/cris/arch-v32/kernel/ptrace.c | 2 -- drivers/mfd/wl1273-core.c | 1 - drivers/net/cris/eth_v10.c | 1 - drivers/regulator/wm831x-dcdc.c | 2 -- drivers/scsi/atari_NCR5380.c | 1 - fs/xfs/linux-2.6/xfs_buf.c | 2 -- 6 files changed, 0 insertions(+), 9 deletions(-)
arch/cris/arch-v32/kernel/ptrace.c +0 -2
@@ -115,8 +115,6 @@ void user_disable_single_step(struct task_struct *child)void ptrace_disable (struct task_struct *child) { -unsigned long tmp; -/* Deconfigure SPC and S-bit. */ user_disable_single_step (child);put_reg (child,PT_SPC ,0 );
drivers/mfd/wl1273-core.c +0 -1
@@ -153,7 +153,6 @@ out:*/ static int wl1273_fm_set_volume (struct wl1273_core *core,unsigned int volume) { -u16 val;int r;if (volume >WL1273_MAX_VOLUME )
drivers/net/cris/eth_v10.c +0 -1
@@ -1132,7 +1132,6 @@ static irqreturn_t e100rxtx_interrupt(int irq, void *dev_id) { struct net_device *dev = (struct net_device *)dev_id; -struct net_local *np =netdev_priv (dev);unsigned long irqbits;/*
drivers/regulator/wm831x-dcdc.c +0 -2
@@ -600,7 +600,6 @@ err: static __devexit int wm831x_buckv_remove(struct platform_device *pdev) {struct wm831x_dcdc *dcdc =platform_get_drvdata (pdev); -struct wm831x *wm831x = dcdc->wm831x;platform_set_drvdata (pdev,NULL );
@@ -776,7 +775,6 @@ err: static __devexit int wm831x_buckp_remove(struct platform_device *pdev) {struct wm831x_dcdc *dcdc =platform_get_drvdata (pdev); -struct wm831x *wm831x = dcdc->wm831x;platform_set_drvdata (pdev,NULL );
drivers/scsi/atari_NCR5380.c +0 -1
@@ -914,7 +914,6 @@ static int NCR5380_queue_command_lck(Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *)) {SETUP_HOSTDATA (cmd->device->host);Scsi_Cmnd *tmp; -int oldto;unsigned long flags;#if (NDEBUG &NDEBUG_NO_WRITE )
fs/xfs/linux-2.6/xfs_buf.c +0 -2
@@ -657,8 +657,6 @@ xfs_buf_readahead( xfs_off_t ioff, size_t isize) { -struct backing_dev_info *bdi; - if (bdi_read_congested(target->bt_bdi)) return;
Signature · 1 line
1.7.3
Quoted 1 line · On Sun, Apr 10, 2011 at 12:55:17AM +0800, [email protected] wrote:
drivers/regulator/wm831x-dcdc.c | 2 --
This one is fixed already. In general you should send separate patches for individual subsystems for things like this in order to avoid merge issues with overlapping fixes or changes.
Quoted 8 lines · Mark Brown
Quoted 1 line · On Sun, Apr 10, 2011 at 12:55:17AM +0800, [email protected] wrote:
drivers/regulator/wm831x-dcdc.c | 2 --This one is fixed already. In general you should send separate patches for individual subsystems for things like this in order to avoid merge issues with overlapping fixes or changes.
--
I had resend the patches .
Thanks .
Quoted 5 lines
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/