mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	treewide: remove extra semicolons from various parts of the kernel
This is a resend from the original, changing the title from PATCH to RFC(since this is a review for commit, and I should have put that the first go around). and also removing some of the commit's with ia64 and bash since it is significant. let me know if I might have missed anything etc.. Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
		
							parent
							
								
									ca4a04cf3d
								
							
						
					
					
						commit
						699324871f
					
				
					 11 changed files with 13 additions and 13 deletions
				
			
		| 
						 | 
					@ -82,7 +82,7 @@ static void nuc93x_timer_setup(void)
 | 
				
			||||||
	timer0_load = (rate / TICKS_PER_SEC);
 | 
						timer0_load = (rate / TICKS_PER_SEC);
 | 
				
			||||||
	__raw_writel(timer0_load, REG_TICR0);
 | 
						__raw_writel(timer0_load, REG_TICR0);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	val |= (PERIOD | COUNTEN | INTEN | PRESCALE);;
 | 
						val |= (PERIOD | COUNTEN | INTEN | PRESCALE);
 | 
				
			||||||
	__raw_writel(val, REG_TCSR0);
 | 
						__raw_writel(val, REG_TCSR0);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -60,7 +60,7 @@ static DEFINE_CLK(emc, 7);
 | 
				
			||||||
static DEFINE_SUBCLK(rmii, 2);
 | 
					static DEFINE_SUBCLK(rmii, 2);
 | 
				
			||||||
static DEFINE_CLK(usbd, 8);
 | 
					static DEFINE_CLK(usbd, 8);
 | 
				
			||||||
static DEFINE_CLK(usbh, 9);
 | 
					static DEFINE_CLK(usbh, 9);
 | 
				
			||||||
static DEFINE_CLK(g2d, 10);;
 | 
					static DEFINE_CLK(g2d, 10);
 | 
				
			||||||
static DEFINE_CLK(pwm, 18);
 | 
					static DEFINE_CLK(pwm, 18);
 | 
				
			||||||
static DEFINE_CLK(ps2, 24);
 | 
					static DEFINE_CLK(ps2, 24);
 | 
				
			||||||
static DEFINE_CLK(kpi, 25);
 | 
					static DEFINE_CLK(kpi, 25);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -192,7 +192,7 @@ static ssize_t rbd_snap_add(struct device *dev,
 | 
				
			||||||
			    const char *buf,
 | 
								    const char *buf,
 | 
				
			||||||
			    size_t count);
 | 
								    size_t count);
 | 
				
			||||||
static void __rbd_remove_snap_dev(struct rbd_device *rbd_dev,
 | 
					static void __rbd_remove_snap_dev(struct rbd_device *rbd_dev,
 | 
				
			||||||
				  struct rbd_snap *snap);;
 | 
									  struct rbd_snap *snap);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static struct rbd_device *dev_to_rbd(struct device *dev)
 | 
					static struct rbd_device *dev_to_rbd(struct device *dev)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -48,7 +48,7 @@ static void radeon_fence_write(struct radeon_device *rdev, u32 seq)
 | 
				
			||||||
			scratch_index = R600_WB_EVENT_OFFSET + rdev->fence_drv.scratch_reg - rdev->scratch.reg_base;
 | 
								scratch_index = R600_WB_EVENT_OFFSET + rdev->fence_drv.scratch_reg - rdev->scratch.reg_base;
 | 
				
			||||||
		else
 | 
							else
 | 
				
			||||||
			scratch_index = RADEON_WB_SCRATCH_OFFSET + rdev->fence_drv.scratch_reg - rdev->scratch.reg_base;
 | 
								scratch_index = RADEON_WB_SCRATCH_OFFSET + rdev->fence_drv.scratch_reg - rdev->scratch.reg_base;
 | 
				
			||||||
		rdev->wb.wb[scratch_index/4] = cpu_to_le32(seq);;
 | 
							rdev->wb.wb[scratch_index/4] = cpu_to_le32(seq);
 | 
				
			||||||
	} else
 | 
						} else
 | 
				
			||||||
		WREG32(rdev->fence_drv.scratch_reg, seq);
 | 
							WREG32(rdev->fence_drv.scratch_reg, seq);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -390,7 +390,7 @@ i2c_dw_xfer_msg(struct dw_i2c_dev *dev)
 | 
				
			||||||
	int tx_limit, rx_limit;
 | 
						int tx_limit, rx_limit;
 | 
				
			||||||
	u32 addr = msgs[dev->msg_write_idx].addr;
 | 
						u32 addr = msgs[dev->msg_write_idx].addr;
 | 
				
			||||||
	u32 buf_len = dev->tx_buf_len;
 | 
						u32 buf_len = dev->tx_buf_len;
 | 
				
			||||||
	u8 *buf = dev->tx_buf;;
 | 
						u8 *buf = dev->tx_buf;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	intr_mask = DW_IC_INTR_DEFAULT_MASK;
 | 
						intr_mask = DW_IC_INTR_DEFAULT_MASK;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -403,7 +403,7 @@ static int fm_v4l2_vidioc_s_hw_freq_seek(struct file *file, void *priv,
 | 
				
			||||||
static int fm_v4l2_vidioc_g_modulator(struct file *file, void *priv,
 | 
					static int fm_v4l2_vidioc_g_modulator(struct file *file, void *priv,
 | 
				
			||||||
		struct v4l2_modulator *mod)
 | 
							struct v4l2_modulator *mod)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	struct fmdev *fmdev = video_drvdata(file);;
 | 
						struct fmdev *fmdev = video_drvdata(file);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (mod->index != 0)
 | 
						if (mod->index != 0)
 | 
				
			||||||
		return -EINVAL;
 | 
							return -EINVAL;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -695,7 +695,7 @@ enum sci_status sci_phy_event_handler(struct isci_phy *iphy, u32 event_code)
 | 
				
			||||||
				 __func__,
 | 
									 __func__,
 | 
				
			||||||
				 event_code);
 | 
									 event_code);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			return SCI_FAILURE;;
 | 
								return SCI_FAILURE;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		return SCI_SUCCESS;
 | 
							return SCI_SUCCESS;
 | 
				
			||||||
	case SCI_PHY_SUB_AWAIT_SATA_SPEED_EN:
 | 
						case SCI_PHY_SUB_AWAIT_SATA_SPEED_EN:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -109,7 +109,7 @@ static int __devinit adt7316_i2c_probe(struct i2c_client *client,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int __devexit adt7316_i2c_remove(struct i2c_client *client)
 | 
					static int __devexit adt7316_i2c_remove(struct i2c_client *client)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	return adt7316_remove(&client->dev);;
 | 
						return adt7316_remove(&client->dev);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static const struct i2c_device_id adt7316_i2c_id[] = {
 | 
					static const struct i2c_device_id adt7316_i2c_id[] = {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -52,7 +52,7 @@ static int ad9832_write_frequency(struct ad9832_state *st,
 | 
				
			||||||
					((addr - 3) << ADD_SHIFT) |
 | 
										((addr - 3) << ADD_SHIFT) |
 | 
				
			||||||
					((regval >> 0) & 0xFF));
 | 
										((regval >> 0) & 0xFF));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return spi_sync(st->spi, &st->freq_msg);;
 | 
						return spi_sync(st->spi, &st->freq_msg);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int ad9832_write_phase(struct ad9832_state *st,
 | 
					static int ad9832_write_phase(struct ad9832_state *st,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -335,7 +335,7 @@ static int queue_dtd(struct mv_ep *ep, struct mv_req *req)
 | 
				
			||||||
	} else {
 | 
						} else {
 | 
				
			||||||
		/* Write dQH next pointer and terminate bit to 0 */
 | 
							/* Write dQH next pointer and terminate bit to 0 */
 | 
				
			||||||
		dqh->next_dtd_ptr = req->head->td_dma
 | 
							dqh->next_dtd_ptr = req->head->td_dma
 | 
				
			||||||
			& EP_QUEUE_HEAD_NEXT_POINTER_MASK;;
 | 
								& EP_QUEUE_HEAD_NEXT_POINTER_MASK;
 | 
				
			||||||
		dqh->size_ioc_int_sts = 0;
 | 
							dqh->size_ioc_int_sts = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		/* Ensure that updates to the QH will occur before priming. */
 | 
							/* Ensure that updates to the QH will occur before priming. */
 | 
				
			||||||
| 
						 | 
					@ -376,7 +376,7 @@ static int queue_dtd(struct mv_ep *ep, struct mv_req *req)
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
done:
 | 
					done:
 | 
				
			||||||
	return retval;;
 | 
						return retval;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static struct mv_dtd *build_dtd(struct mv_req *req, unsigned *length,
 | 
					static struct mv_dtd *build_dtd(struct mv_req *req, unsigned *length,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2931,11 +2931,11 @@ sub process {
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			if ($level == 0 && $block =~ /^\s*\{/ && !$allowed) {
 | 
								if ($level == 0 && $block =~ /^\s*\{/ && !$allowed) {
 | 
				
			||||||
				my $herectx = $here . "\n";;
 | 
									my $herectx = $here . "\n";
 | 
				
			||||||
				my $cnt = statement_rawlines($block);
 | 
									my $cnt = statement_rawlines($block);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				for (my $n = 0; $n < $cnt; $n++) {
 | 
									for (my $n = 0; $n < $cnt; $n++) {
 | 
				
			||||||
					$herectx .= raw_line($linenr, $n) . "\n";;
 | 
										$herectx .= raw_line($linenr, $n) . "\n";
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				WARN("BRACES",
 | 
									WARN("BRACES",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue