summaryrefslogtreecommitdiff
path: root/drivers/staging/line6/pcm.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2010-09-21 23:58:00 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-21 23:58:00 (GMT)
commit027360c5644b59d99db30e3515a8ec72350207b9 (patch)
tree2d5f307fec534fc6e76135121e4c1f8f517d6922 /drivers/staging/line6/pcm.c
parent79be7254ebd2fb6d5f91b4b8e5d12cfe4fd7ecd7 (diff)
downloadlinux-027360c5644b59d99db30e3515a8ec72350207b9.tar.xz
Staging: line6: minor coding style cleanups
This fixes up all of the remaining coding style issues that make any sense to make in the line6 driver. Cc: Markus Grabner <grabner@icg.tugraz.at> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/line6/pcm.c')
-rw-r--r--drivers/staging/line6/pcm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/line6/pcm.c b/drivers/staging/line6/pcm.c
index 8fb5596..e54770e 100644
--- a/drivers/staging/line6/pcm.c
+++ b/drivers/staging/line6/pcm.c
@@ -361,9 +361,8 @@ static int snd_line6_pcm_free(struct snd_device *device)
*/
static void pcm_disconnect_substream(struct snd_pcm_substream *substream)
{
- if (substream->runtime && snd_pcm_running(substream)) {
+ if (substream->runtime && snd_pcm_running(substream))
snd_pcm_stop(substream, SNDRV_PCM_STATE_DISCONNECTED);
- }
}
/*