remove needless null check
remove needless null check

profile was already dereferenced earlier in the function and cannot
be null anyway from the current callers of the function.

Signed-off-by: Thomas Hindoe Paaboel Andersen <581bc03c0411458e35a55923845fcf36445f560e@gmail.com>

cvuchener/libratbag,whot/libratbag,cvuchener/libratbag,NoXPhasma/libratbag,cvuchener/libratbag,libratbag/libratbag,NoXPhasma/libratbag,libratbag/libratbag,whot/libratbag,NoXPhasma/libratbag,libratbag/libratbag,whot/libratbag