Your query will return every url trimmed. I think you need something like this:
SELECT TRIM(TRAILING '/' FROM url) trimmed_url
FROM link_info
GROUP BY trimmed_url
HAVING COUNT(DISTINCT url)>1
Please see fiddle here.
Edit
If there are no exact duplicates, and you just want to keep the row with no trailing slash, you could use this delete query:
DELETE l1.*
FROM
link_info l1 INNER JOIN link_info l2
ON l1.url = CONCAT(l2.url, '/')
Please see fiddle here. Notice that this query will just remove the duplicated yahoo.com with the trailing slash, but it won't remove the trailing slash from www.google.com/