linreg: Delete unused static function.