Skip to content

Commit

Permalink
Remove empty lines triggering CI format check
Browse files Browse the repository at this point in the history
  • Loading branch information
thnkslprpt committed Oct 6, 2022
1 parent 13dd1b6 commit 6f1e234
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 26 deletions.
6 changes: 0 additions & 6 deletions modules/es/fsw/src/cfe_es_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ CFE_Status_t CFE_ES_ResetCFE(uint32 ResetType)
** Call the BSP reset routine
*/
CFE_PSP_Restart(CFE_PSP_RST_TYPE_PROCESSOR);

}

/*
Expand Down Expand Up @@ -211,7 +210,6 @@ CFE_Status_t CFE_ES_RestartApp(CFE_ES_AppId_t AppID)

CFE_ES_WriteToSysLog("%s: Invalid Application ID received, AppID = %lu\n", __func__,
CFE_RESOURCEID_TO_ULONG(AppID));

}

return ReturnCode;
Expand Down Expand Up @@ -456,7 +454,6 @@ void CFE_ES_ExitApp(uint32 ExitStatus)
{
OS_TaskDelay(500);
}

}

} /* end if ReturnCode == CFE_SUCCESS */
Expand Down Expand Up @@ -1462,7 +1459,6 @@ CFE_Status_t CFE_ES_DeleteChildTask(CFE_ES_TaskId_t TaskId)
CFE_ES_SysLogWrite_Unsync("%s: Error: Task ID is not active: %lu\n", __func__,
CFE_RESOURCEID_TO_ULONG(TaskId));
ReturnCode = CFE_ES_ERR_RESOURCEID_NOT_VALID;

}

CFE_ES_UnlockSharedData(__func__, __LINE__);
Expand Down Expand Up @@ -2160,7 +2156,6 @@ void CFE_ES_LockSharedData(const char *FunctionName, int32 LineNumber)
*/
CFE_ES_SysLogWrite_Unsync("%s: SharedData Mutex Take Err Stat=%ld,Func=%s,Line=%d\n", __func__, (long)OsStatus,
FunctionName, (int)LineNumber);

}
}

Expand All @@ -2183,7 +2178,6 @@ void CFE_ES_UnlockSharedData(const char *FunctionName, int32 LineNumber)
*/
CFE_ES_SysLogWrite_Unsync("%s: SharedData Mutex Give Err Stat=%ld,Func=%s,Line=%d\n", __func__, (long)OsStatus,
FunctionName, (int)LineNumber);

}
}

Expand Down
2 changes: 0 additions & 2 deletions modules/es/fsw/src/cfe_es_apps.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ void CFE_ES_StartApplications(uint32 ResetType, const char *StartFilePath)
CFE_ES_WriteToSysLog("%s: CFE_FS_ParseInputFileName() RC=%08x parsing volatile script file name.\n",
__func__, (unsigned int)Status);
}

}

/*
Expand Down Expand Up @@ -1053,7 +1052,6 @@ bool CFE_ES_RunAppTableScan(uint32 ElapsedTime, void *Arg)
AppPtr->AppState = CFE_ES_AppState_WAITING;
AppPtr->ControlReq.AppTimerMsec = CFE_PLATFORM_ES_APP_KILL_TIMEOUT * CFE_PLATFORM_ES_APP_SCAN_RATE;
}

}

++AppPtr;
Expand Down
3 changes: 1 addition & 2 deletions modules/es/fsw/src/cfe_es_objtab.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,5 +133,4 @@ CFE_ES_ObjectTable_t CFE_ES_ObjectTable[CFE_PLATFORM_ES_OBJECT_TABLE_SIZE] = {
{.ObjectType = CFE_ES_NULL_ENTRY},
{.ObjectType = CFE_ES_NULL_ENTRY},
{.ObjectType = CFE_ES_NULL_ENTRY},
{.ObjectType = CFE_ES_NULL_ENTRY}
};
{.ObjectType = CFE_ES_NULL_ENTRY}};
2 changes: 0 additions & 2 deletions modules/es/fsw/src/cfe_es_start.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,6 @@ void CFE_ES_SetupResetVariables(uint32 StartType, uint32 StartSubtype, uint32 Bo
CFE_ES_WriteToERLog(CFE_ES_LogEntryType_CORE, CFE_PSP_RST_TYPE_PROCESSOR, StartSubtype,
"PROCESSOR RESET due to Watchdog (Watchdog).");
}

}
}
/*
Expand Down Expand Up @@ -852,7 +851,6 @@ void CFE_ES_CreateObjects(void)
** cFE Cannot continue to start up.
*/
CFE_PSP_Panic(CFE_PSP_PANIC_CORE_APP);

}
}
else
Expand Down
2 changes: 0 additions & 2 deletions modules/es/fsw/src/cfe_es_task.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ void CFE_ES_TaskMain(void)
** Allow Core App to Exit
*/
AppRunStatus = CFE_ES_RunStatus_CORE_APP_INIT_ERROR;

}

/*
Expand Down Expand Up @@ -162,7 +161,6 @@ void CFE_ES_TaskMain(void)
** Allow Core App to Exit
*/
AppRunStatus = CFE_ES_RunStatus_CORE_APP_RUNTIME_ERROR;

}

} /* end while */
Expand Down
2 changes: 0 additions & 2 deletions modules/fs/fsw/src/cfe_fs_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,6 @@ bool CFE_FS_RunBackgroundFileDump(uint32 ElapsedTime, void *Arg)
}

++State->RecordNum;

}

/* On normal EOF close the file and generate the complete event */
Expand Down Expand Up @@ -814,7 +813,6 @@ bool CFE_FS_RunBackgroundFileDump(uint32 ElapsedTime, void *Arg)
Meta->IsPending = false;

CFE_FS_UnlockSharedData(__func__);

}

return !IsEOF;
Expand Down
2 changes: 0 additions & 2 deletions modules/fs/fsw/src/cfe_fs_priv.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ void CFE_FS_LockSharedData(const char *FunctionName)
CFE_ES_GetAppID(&AppId);
CFE_ES_WriteToSysLog("%s: SharedData Mutex Take Err Stat=%ld,App=%lu,Function=%s\n", __func__, (long)OsStatus,
CFE_RESOURCEID_TO_ULONG(AppId), FunctionName);

}
}

Expand All @@ -100,6 +99,5 @@ void CFE_FS_UnlockSharedData(const char *FunctionName)
CFE_ES_GetAppID(&AppId);
CFE_ES_WriteToSysLog("%s: SharedData Mutex Give Err Stat=%ld,App=%lu,Function=%s\n", __func__, (long)OsStatus,
CFE_RESOURCEID_TO_ULONG(AppId), FunctionName);

}
}
2 changes: 0 additions & 2 deletions modules/sb/fsw/src/cfe_sb_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -1513,7 +1513,6 @@ int32 CFE_SB_TransmitMsgValidate(const CFE_MSG_Message_t *MsgPtr, CFE_SB_MsgId_t
}
break;
}

}

return Status;
Expand Down Expand Up @@ -1730,7 +1729,6 @@ void CFE_SB_BroadcastBufferToRoute(CFE_SB_BufferD_t *BufDscPtr, CFE_SBR_RouteId_
/* clear the bit so the task may send this event again */
CFE_SB_FinishSendEvent(TskId, CFE_SB_Q_WR_ERR_EID_BIT);
}

}
}
}
Expand Down
4 changes: 0 additions & 4 deletions modules/sb/fsw/src/cfe_sb_priv.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ void CFE_SB_LockSharedData(const char *FuncName, int32 LineNumber)
CFE_ES_GetAppID(&AppId);
CFE_ES_WriteToSysLog("%s: SharedData Mutex Take Err Stat=%ld,App=%lu,Func=%s,Line=%d\n", __func__,
(long)OsStatus, CFE_RESOURCEID_TO_ULONG(AppId), FuncName, (int)LineNumber);

}
}

Expand All @@ -158,7 +157,6 @@ void CFE_SB_UnlockSharedData(const char *FuncName, int32 LineNumber)
CFE_ES_GetAppID(&AppId);
CFE_ES_WriteToSysLog("%s: SharedData Mutex Give Err Stat=%ld,App=%lu,Func=%s,Line=%d\n", __func__,
(long)OsStatus, CFE_RESOURCEID_TO_ULONG(AppId), FuncName, (int)LineNumber);

}
}

Expand Down Expand Up @@ -282,7 +280,6 @@ char *CFE_SB_GetAppTskName(CFE_ES_TaskId_t TaskId, char *FullName)
TskName[sizeof(TskName) - 1] = '\0';

sprintf(FullName, "%s.%s", AppName, TskName);

}

return FullName;
Expand Down Expand Up @@ -312,7 +309,6 @@ uint32 CFE_SB_RequestToSendEvent(CFE_ES_TaskId_t TaskId, uint32 Bit)
{
CFE_SET(CFE_SB_Global.StopRecurseFlags[Indx], Bit);
return CFE_SB_GRANTED;

}
}

Expand Down
2 changes: 0 additions & 2 deletions modules/sb/fsw/src/cfe_sb_task.c
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,6 @@ int32 CFE_SB_EnableRouteCmd(const CFE_SB_EnableRouteCmd_t *data)
PendingEventID = CFE_SB_ENBL_RTE2_EID;
CFE_SB_Global.HKTlmMsg.Payload.CommandCounter++;
}

}

CFE_SB_UnlockSharedData(__func__, __LINE__);
Expand Down Expand Up @@ -650,7 +649,6 @@ int32 CFE_SB_DisableRouteCmd(const CFE_SB_DisableRouteCmd_t *data)
PendingEventID = CFE_SB_DSBL_RTE2_EID;
CFE_SB_Global.HKTlmMsg.Payload.CommandCounter++;
}

}

CFE_SB_UnlockSharedData(__func__, __LINE__);
Expand Down

0 comments on commit 6f1e234

Please sign in to comment.