diff mbox

HID: prodikeys: remove a redundant forward declaration of struct pcmidi_snd

Message ID 1311234448.16867.0.camel@phoenix (mailing list archive)
State New, archived
Delegated to: Jiri Kosina
Headers show

Commit Message

axel lin July 21, 2011, 7:47 a.m. UTC
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/hid/hid-prodikeys.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Comments

Jiri Kosina July 21, 2011, noon UTC | #1
On Thu, 21 Jul 2011, Axel Lin wrote:

> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
>  drivers/hid/hid-prodikeys.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/hid/hid-prodikeys.c b/drivers/hid/hid-prodikeys.c
> index ab19f29..53c9850 100644
> --- a/drivers/hid/hid-prodikeys.c
> +++ b/drivers/hid/hid-prodikeys.c
> @@ -44,8 +44,6 @@ struct pk_device {
>  	struct pcmidi_snd	*pm; /* pcmidi device context */
>  };
>  
> -struct pcmidi_snd;
> -
>  struct pcmidi_sustain {
>  	unsigned long		in_use;
>  	struct pcmidi_snd	*pm;

Applied.
diff mbox

Patch

diff --git a/drivers/hid/hid-prodikeys.c b/drivers/hid/hid-prodikeys.c
index ab19f29..53c9850 100644
--- a/drivers/hid/hid-prodikeys.c
+++ b/drivers/hid/hid-prodikeys.c
@@ -44,8 +44,6 @@  struct pk_device {
 	struct pcmidi_snd	*pm; /* pcmidi device context */
 };
 
-struct pcmidi_snd;
-
 struct pcmidi_sustain {
 	unsigned long		in_use;
 	struct pcmidi_snd	*pm;