mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-11 15:40:50 +00:00
net/mac802154: Remove extra blank lines.
Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com> Acked-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
parent
6c10dc05b8
commit
a4dc132196
@ -75,8 +75,6 @@ void mac802154_llsec_destroy(struct mac802154_llsec *sec)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int mac802154_llsec_get_params(struct mac802154_llsec *sec,
|
int mac802154_llsec_get_params(struct mac802154_llsec *sec,
|
||||||
struct ieee802154_llsec_params *params)
|
struct ieee802154_llsec_params *params)
|
||||||
{
|
{
|
||||||
@ -117,8 +115,6 @@ int mac802154_llsec_set_params(struct mac802154_llsec *sec,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static struct mac802154_llsec_key*
|
static struct mac802154_llsec_key*
|
||||||
llsec_key_alloc(const struct ieee802154_llsec_key *template)
|
llsec_key_alloc(const struct ieee802154_llsec_key *template)
|
||||||
{
|
{
|
||||||
@ -294,8 +290,6 @@ int mac802154_llsec_key_del(struct mac802154_llsec *sec,
|
|||||||
return -ENOENT;
|
return -ENOENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static bool llsec_dev_use_shortaddr(__le16 short_addr)
|
static bool llsec_dev_use_shortaddr(__le16 short_addr)
|
||||||
{
|
{
|
||||||
return short_addr != cpu_to_le16(IEEE802154_ADDR_UNDEF) &&
|
return short_addr != cpu_to_le16(IEEE802154_ADDR_UNDEF) &&
|
||||||
@ -411,8 +405,6 @@ int mac802154_llsec_dev_del(struct mac802154_llsec *sec, __le64 device_addr)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static struct mac802154_llsec_device_key*
|
static struct mac802154_llsec_device_key*
|
||||||
llsec_devkey_find(struct mac802154_llsec_device *dev,
|
llsec_devkey_find(struct mac802154_llsec_device *dev,
|
||||||
const struct ieee802154_llsec_key_id *key)
|
const struct ieee802154_llsec_key_id *key)
|
||||||
@ -475,8 +467,6 @@ int mac802154_llsec_devkey_del(struct mac802154_llsec *sec,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static struct mac802154_llsec_seclevel*
|
static struct mac802154_llsec_seclevel*
|
||||||
llsec_find_seclevel(const struct mac802154_llsec *sec,
|
llsec_find_seclevel(const struct mac802154_llsec *sec,
|
||||||
const struct ieee802154_llsec_seclevel *sl)
|
const struct ieee802154_llsec_seclevel *sl)
|
||||||
@ -532,8 +522,6 @@ int mac802154_llsec_seclevel_del(struct mac802154_llsec *sec,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static int llsec_recover_addr(struct mac802154_llsec *sec,
|
static int llsec_recover_addr(struct mac802154_llsec *sec,
|
||||||
struct ieee802154_addr *addr)
|
struct ieee802154_addr *addr)
|
||||||
{
|
{
|
||||||
@ -609,7 +597,6 @@ found:
|
|||||||
return llsec_key_get(key);
|
return llsec_key_get(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static void llsec_geniv(u8 iv[16], __le64 addr,
|
static void llsec_geniv(u8 iv[16], __le64 addr,
|
||||||
const struct ieee802154_sechdr *sec)
|
const struct ieee802154_sechdr *sec)
|
||||||
{
|
{
|
||||||
@ -786,8 +773,6 @@ fail:
|
|||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static struct mac802154_llsec_device*
|
static struct mac802154_llsec_device*
|
||||||
llsec_lookup_dev(struct mac802154_llsec *sec,
|
llsec_lookup_dev(struct mac802154_llsec *sec,
|
||||||
const struct ieee802154_addr *addr)
|
const struct ieee802154_addr *addr)
|
||||||
|
@ -104,7 +104,6 @@ void mac802154_dev_set_page_channel(struct net_device *dev, u8 page, u8 chan)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int mac802154_get_params(struct net_device *dev,
|
int mac802154_get_params(struct net_device *dev,
|
||||||
struct ieee802154_llsec_params *params)
|
struct ieee802154_llsec_params *params)
|
||||||
{
|
{
|
||||||
@ -136,7 +135,6 @@ int mac802154_set_params(struct net_device *dev,
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int mac802154_add_key(struct net_device *dev,
|
int mac802154_add_key(struct net_device *dev,
|
||||||
const struct ieee802154_llsec_key_id *id,
|
const struct ieee802154_llsec_key_id *id,
|
||||||
const struct ieee802154_llsec_key *key)
|
const struct ieee802154_llsec_key *key)
|
||||||
@ -168,7 +166,6 @@ int mac802154_del_key(struct net_device *dev,
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int mac802154_add_dev(struct net_device *dev,
|
int mac802154_add_dev(struct net_device *dev,
|
||||||
const struct ieee802154_llsec_device *llsec_dev)
|
const struct ieee802154_llsec_device *llsec_dev)
|
||||||
{
|
{
|
||||||
@ -198,7 +195,6 @@ int mac802154_del_dev(struct net_device *dev, __le64 dev_addr)
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int mac802154_add_devkey(struct net_device *dev,
|
int mac802154_add_devkey(struct net_device *dev,
|
||||||
__le64 device_addr,
|
__le64 device_addr,
|
||||||
const struct ieee802154_llsec_device_key *key)
|
const struct ieee802154_llsec_device_key *key)
|
||||||
@ -231,7 +227,6 @@ int mac802154_del_devkey(struct net_device *dev,
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int mac802154_add_seclevel(struct net_device *dev,
|
int mac802154_add_seclevel(struct net_device *dev,
|
||||||
const struct ieee802154_llsec_seclevel *sl)
|
const struct ieee802154_llsec_seclevel *sl)
|
||||||
{
|
{
|
||||||
@ -262,7 +257,6 @@ int mac802154_del_seclevel(struct net_device *dev,
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void mac802154_lock_table(struct net_device *dev)
|
void mac802154_lock_table(struct net_device *dev)
|
||||||
{
|
{
|
||||||
struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev);
|
struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user