Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5fa1247a authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

NULL noise: drivers/media

parent 8481664d
Loading
Loading
Loading
Loading
+5 −8
Original line number Diff line number Diff line
@@ -306,25 +306,22 @@ static irqreturn_t interrupt_hw(int irq, void *dev_id)
		return IRQ_NONE;
	}

	if( 0 != (dev->ext)) {
		if( 0 != (dev->ext->irq_mask & isr )) {
			if( 0 != dev->ext->irq_func ) {
	if (dev->ext) {
		if (dev->ext->irq_mask & isr) {
			if (dev->ext->irq_func)
				dev->ext->irq_func(dev, &isr);
			}
			isr &= ~dev->ext->irq_mask;
		}
	}
	if (0 != (isr & (MASK_27))) {
		DEB_INT(("irq: RPS0 (0x%08x).\n",isr));
		if( 0 != dev->vv_data && 0 != dev->vv_callback) {
		if (dev->vv_data && dev->vv_callback)
			dev->vv_callback(dev,isr);
		}
		isr &= ~MASK_27;
	}
	if (0 != (isr & (MASK_28))) {
		if( 0 != dev->vv_data && 0 != dev->vv_callback) {
		if (dev->vv_data && dev->vv_callback)
			dev->vv_callback(dev,isr);
		}
		isr &= ~MASK_28;
	}
	if (0 != (isr & (MASK_16|MASK_17))) {
+1 −1
Original line number Diff line number Diff line
@@ -272,7 +272,7 @@ static int fops_open(struct inode *inode, struct file *file)

	result = 0;
out:
	if( fh != 0 && result != 0 ) {
	if (fh && result != 0) {
		kfree(fh);
		file->private_data = NULL;
	}
+2 −2
Original line number Diff line number Diff line
@@ -784,8 +784,8 @@ static int dvb_net_ts_callback(const u8 *buffer1, size_t buffer1_len,
{
	struct net_device *dev = feed->priv;

	if (buffer2 != 0)
		printk(KERN_WARNING "buffer2 not 0: %p.\n", buffer2);
	if (buffer2)
		printk(KERN_WARNING "buffer2 not NULL: %p.\n", buffer2);
	if (buffer1_len > 32768)
		printk(KERN_WARNING "length > 32k: %zu.\n", buffer1_len);
	/* printk("TS callback: %u bytes, %u TS cells @ %p.\n",
+1 −1
Original line number Diff line number Diff line
@@ -408,7 +408,7 @@ adv7170_detect_client (struct i2c_adapter *adapter,
		return 0;

	client = kzalloc(sizeof(struct i2c_client), GFP_KERNEL);
	if (client == 0)
	if (!client)
		return -ENOMEM;
	client->addr = address;
	client->adapter = adapter;
+1 −1
Original line number Diff line number Diff line
@@ -426,7 +426,7 @@ adv7175_detect_client (struct i2c_adapter *adapter,
		return 0;

	client = kzalloc(sizeof(struct i2c_client), GFP_KERNEL);
	if (client == 0)
	if (!client)
		return -ENOMEM;
	client->addr = address;
	client->adapter = adapter;
Loading