projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
[profile/ivi/kernel-adaptation-intel-automotive.git]
/
drivers
/
pnp
/
driver.c
diff --git
a/drivers/pnp/driver.c
b/drivers/pnp/driver.c
index
9be01b0
..
2fa64a6
100644
(file)
--- a/
drivers/pnp/driver.c
+++ b/
drivers/pnp/driver.c
@@
-232,10
+232,6
@@
int pnp_add_id(struct pnp_id *id, struct pnp_dev *dev)
{
struct pnp_id *ptr;
- if (!id)
- return -EINVAL;
- if (!dev)
- return -EINVAL;
id->next = NULL;
ptr = dev->id;
while (ptr && ptr->next)