[PATCH] whitespace cleanups

This commit is contained in:
greg@kroah.com 2004-01-23 01:51:06 -08:00 committed by Greg KH
parent 7fafc03242
commit 7b15897b46
1 changed files with 3 additions and 5 deletions

View File

@ -115,13 +115,12 @@ int main(int argc, char* argv[])
dbg("no seqnum"); dbg("no seqnum");
goto exit; goto exit;
} }
seq = atoi(seqnum); seq = atoi(seqnum);
key = ftok(DEFAULT_EXEC_PROGRAM, IPC_KEY_ID); key = ftok(DEFAULT_EXEC_PROGRAM, IPC_KEY_ID);
size = build_hotplugmsg( (struct hotplug_msg**) &pmsg, action, devpath, subsystem, seq); size = build_hotplugmsg( (struct hotplug_msg**) &pmsg, action, devpath, subsystem, seq);
msgid = msgget(key, IPC_CREAT); msgid = msgget(key, IPC_CREAT);
if (msgid == -1) if (msgid == -1) {
{
dbg("open ipc queue error"); dbg("open ipc queue error");
goto exit; goto exit;
} }
@ -137,8 +136,7 @@ int main(int argc, char* argv[])
retval = msgsnd(msgid, pmsg, size, 0); retval = msgsnd(msgid, pmsg, size, 0);
free_hotplugmsg( (struct hotplug_msg*) pmsg); free_hotplugmsg( (struct hotplug_msg*) pmsg);
if (retval == -1) if (retval == -1) {
{
dbg("send ipc message error"); dbg("send ipc message error");
goto exit; goto exit;
} }