Skip to contentSkip to conversation

sound/sb_midi: a couple indenting fixes

PATCH Applied Dan Carpenter 2 participants 2 messages Feb 25, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sound/sb_midi: a couple indenting fixes

Let's make things line up a little bit better.

sound/oss/sb_midi.c +3 -3
index f139028..551ee75 100644
@@ -179,14 +179,14 @@ void sb_dsp_midi_init(sb_devc * devc, struct module *owner)
 	{
 		printk(KERN_WARNING "Sound Blaster:  failed to allocate MIDI memory.\n");
 		sound_unload_mididev(dev);
-		  return;
+		return;
 	}
 	memcpy((char *) midi_devs[dev], (char *) &sb_midi_operations,
 	       sizeof(struct midi_operations));
 
 	if (owner)
-			midi_devs[dev]->owner = owner;
-	
+		midi_devs[dev]->owner = owner;
+
 	midi_devs[dev]->devc = devc;
 
 
Applied
#1 lore raw

At Wed, 25 Feb 2015 16:32:16 +0300,

Quoted 4 lines · Dan Carpenter

Let's make things line up a little bit better.

Applied, thanks.

Takashi

Quoted 24 lines
sound/oss/sb_midi.c +3 -3
index f139028..551ee75 100644
@@ -179,14 +179,14 @@ void sb_dsp_midi_init(sb_devc * devc, struct module *owner)
 	{
 		printk(KERN_WARNING "Sound Blaster:  failed to allocate MIDI memory.\n");
 		sound_unload_mididev(dev);
-		  return;
+		return;
 	}
 	memcpy((char *) midi_devs[dev], (char *) &sb_midi_operations,
 	       sizeof(struct midi_operations));
 
 	if (owner)
-			midi_devs[dev]->owner = owner;
-	
+		midi_devs[dev]->owner = owner;
+
 	midi_devs[dev]->devc = devc;