Staging: ks7010: add blank line after declaration
This patch fixes a coding style WARNING: Missing a blank line after declaration, found by checkpatch.pl. By adding a blank line after declaration of a variable. Signed-off-by: Muraru Mihaela <mihaela.muraru21@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3f64b35e33
commit
697f9f7f84
@ -294,6 +294,7 @@ static int write_to_device(struct ks_wlan_private *priv, unsigned char *buffer,
|
|||||||
int retval;
|
int retval;
|
||||||
unsigned char rw_data;
|
unsigned char rw_data;
|
||||||
struct hostif_hdr *hdr;
|
struct hostif_hdr *hdr;
|
||||||
|
|
||||||
hdr = (struct hostif_hdr *)buffer;
|
hdr = (struct hostif_hdr *)buffer;
|
||||||
|
|
||||||
DPRINTK(4, "size=%d\n", hdr->size);
|
DPRINTK(4, "size=%d\n", hdr->size);
|
||||||
@ -358,6 +359,7 @@ int ks_wlan_hw_tx(struct ks_wlan_private *priv, void *p, unsigned long size,
|
|||||||
{
|
{
|
||||||
int result = 0;
|
int result = 0;
|
||||||
struct hostif_hdr *hdr;
|
struct hostif_hdr *hdr;
|
||||||
|
|
||||||
hdr = (struct hostif_hdr *)p;
|
hdr = (struct hostif_hdr *)p;
|
||||||
|
|
||||||
if (hdr->event < HIF_DATA_REQ || HIF_REQ_MAX < hdr->event) {
|
if (hdr->event < HIF_DATA_REQ || HIF_REQ_MAX < hdr->event) {
|
||||||
@ -1117,6 +1119,7 @@ static void ks7010_sdio_remove(struct sdio_func *func)
|
|||||||
int ret;
|
int ret;
|
||||||
struct ks_sdio_card *card;
|
struct ks_sdio_card *card;
|
||||||
struct ks_wlan_private *priv;
|
struct ks_wlan_private *priv;
|
||||||
|
|
||||||
DPRINTK(1, "ks7010_sdio_remove()\n");
|
DPRINTK(1, "ks7010_sdio_remove()\n");
|
||||||
|
|
||||||
card = sdio_get_drvdata(func);
|
card = sdio_get_drvdata(func);
|
||||||
@ -1142,6 +1145,7 @@ static void ks7010_sdio_remove(struct sdio_func *func)
|
|||||||
/* send stop request to MAC */
|
/* send stop request to MAC */
|
||||||
{
|
{
|
||||||
struct hostif_stop_request_t *pp;
|
struct hostif_stop_request_t *pp;
|
||||||
|
|
||||||
pp = kzalloc(hif_align_size(sizeof(*pp)), GFP_KERNEL);
|
pp = kzalloc(hif_align_size(sizeof(*pp)), GFP_KERNEL);
|
||||||
if (!pp) {
|
if (!pp) {
|
||||||
DPRINTK(3, "allocate memory failed..\n");
|
DPRINTK(3, "allocate memory failed..\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user