net:: sched: fixed null-pointer warnings [adridu59]

Signed-off-by: garwedgess <garethwilliams21@gmail.com>