mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 14:40:12 -04:00
media: ipu3-cio2: Drop useless assignments
There are assignments inside the functions which are useless. Drop them for good. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
c12841388e
commit
39fec547f1
@@ -1976,8 +1976,8 @@ static int __maybe_unused cio2_suspend(struct device *dev)
|
||||
static int __maybe_unused cio2_resume(struct device *dev)
|
||||
{
|
||||
struct cio2_device *cio2 = dev_get_drvdata(dev);
|
||||
int r = 0;
|
||||
struct cio2_queue *q = cio2->cur_queue;
|
||||
int r;
|
||||
|
||||
dev_dbg(dev, "cio2 resume\n");
|
||||
if (!cio2->streaming)
|
||||
@@ -2004,7 +2004,7 @@ static const struct dev_pm_ops cio2_pm_ops = {
|
||||
|
||||
static const struct pci_device_id cio2_pci_id_table[] = {
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, CIO2_PCI_ID) },
|
||||
{ 0 }
|
||||
{ }
|
||||
};
|
||||
|
||||
MODULE_DEVICE_TABLE(pci, cio2_pci_id_table);
|
||||
|
||||
Reference in New Issue
Block a user