Kernel: Remove useless/duplicated comments; mark functions static
This commit is contained in:
parent
206cabc0e4
commit
9a345de2bd
6 changed files with 8 additions and 32 deletions
|
@ -45,7 +45,7 @@ public:
|
|||
* @param name Optional name of timer
|
||||
* @return Newly created Timer object
|
||||
*/
|
||||
Timer* CreateTimer(Handle& handle, const ResetType reset_type, const std::string& name) {
|
||||
static Timer* CreateTimer(Handle& handle, const ResetType reset_type, const std::string& name) {
|
||||
Timer* timer = new Timer;
|
||||
|
||||
handle = Kernel::g_handle_table.Create(timer).ValueOr(INVALID_HANDLE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue