Code cleanup in fb_ips.c