remove accidentally duplicated code which already exists in libsrsbsns