projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Bluetooth]: Fix sparse warnings (__nocast type)
[powerpc.git]
/
net
/
bluetooth
/
sco.c
diff --git
a/net/bluetooth/sco.c
b/net/bluetooth/sco.c
index
3e750ef
..
ce7ab7d
100644
(file)
--- a/
net/bluetooth/sco.c
+++ b/
net/bluetooth/sco.c
@@
-30,7
+30,6
@@
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/kernel.h>
-#include <linux/major.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/poll.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/poll.h>
@@
-419,7
+418,7
@@
static struct proto sco_proto = {
.obj_size = sizeof(struct sco_pinfo)
};
.obj_size = sizeof(struct sco_pinfo)
};
-static struct sock *sco_sock_alloc(struct socket *sock, int proto,
in
t prio)
+static struct sock *sco_sock_alloc(struct socket *sock, int proto,
unsigned int __nocas
t prio)
{
struct sock *sk;
{
struct sock *sk;