Removed unnecessary parameter, where default value was being passed into checksession().

Signed-off-by: ziycon <ziycon.eire@gmail.com>
Merge pull request #1195 from ziycon/checksession_cleanup

Removed unnecessary parameter
Merge pull request #1199 from Arantor/release-2.1

Minor things