Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1fd16a31 authored by Christian Colic's avatar Christian Colic Committed by Greg Kroah-Hartman
Browse files

staging: speakup: (coding style) Add braces around all arms of if-statement



Fix checkpatch error: "braces {} should be used on all arms of this statement"
by adding the necessary braces around the "if".

Signed-off-by: default avatarChristian Colic <colic.christian@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a4efe6fd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -76,9 +76,9 @@ void speakup_register_devsynth(void)
	if (misc_registered != 0)
		return;
/* zero it so if register fails, deregister will not ref invalid ptrs */
	if (misc_register(&synth_device))
	if (misc_register(&synth_device)) {
		pr_warn("Couldn't initialize miscdevice /dev/synth.\n");
	else {
	} else {
		pr_info("initialized device: /dev/synth, node (MAJOR %d, MINOR %d)\n",
			MISC_MAJOR, SYNTH_MINOR);
		misc_registered = 1;